Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

[SOLVED]Calculator field label + values in minicart / sidecart

More
5 months 3 weeks ago #1548 by Kristijan Cikor
Kristijan Cikor replied the topic: [SOLVED]Calculator field label + values in minicart / sidecart
Dear Enrico,

thanks! (solved)

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #1543 by Enrico
Enrico replied the topic: [SOLVED]Calculator field label + values in minicart / sidecart
Hi,

You can change the file /wp-content/plugins/woo-price-calculator/admin/awspricecalculator/View/cart/edit.php

change the piece of code:
<span class="wpc-cart-container">
    <?php if($this->getLicense() == 1): ?>
    <!--WPC-PRO-->
        <span class="wpc-edit-icon <?php echo $this->view['cartEditButtonClass']; ?>" data-remodal-target="wpc_cart_item_<?php echo $this->view['cartItemKey']; ?>">
            <span class="cart-text">
                <?php echo $this->mixTrans('wpc.cart.edit'); ?>
            </span>
                       

        </span>
        
        <?php echo $this->view['price']; ?>
     <!--/WPC-PRO-->
    <?php else: ?>
        <?php echo $this->view['price']; ?>
    <?php endif; ?>
</span>

to
<span class="wpc-cart-container">
    <?php if($this->getLicense() == 1): ?>
    <!--WPC-PRO-->
       <?php echo $this->view['price']; ?>

        <span class="wpc-edit-icon <?php echo $this->view['cartEditButtonClass']; ?>" data-remodal-target="wpc_cart_item_<?php echo $this->view['cartItemKey']; ?>">
            <span class="cart-text">
                <?php echo $this->mixTrans('wpc.cart.edit'); ?>
            </span>
                       

        </span>

     <!--/WPC-PRO-->
    <?php else: ?>
        <?php echo $this->view['price']; ?>
    <?php endif; ?>
</span>

Kind Regards,
Enrico
AT424

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago - 5 months 3 weeks ago #1537 by Kristijan Cikor
Kristijan Cikor created the topic: [SOLVED]Calculator field label + values in minicart / sidecart
Original question is solved in the meantime, one question left - any easy way to output edit button after the price on cart page?

Hello,

Pro user here. If we use calculator to define a product attributes and thus it's price, the plugin is displaying labels and choosen values only on cart page, but not displaying for an example in minicart where it shows only a title and none of the calculator values beside calculated price, which is a huge miss as we could have a sidecart or minicart show many products with same name an different prices only. How to get label and field values to display also in minicart (for an example official Storefront theme)? Please help. Thanks!

Note I do not use Excel at all, fields are selected and configured directly from plugin interface and everything is working beside sidecart / minicart displaying only a product title / link, thumbnail and correctly calculated price, but none of the field labels or chosen values.
Last Edit: 5 months 3 weeks ago by Kristijan Cikor.

Please Log in or Create an account to join the conversation.

Moderators: david
Time to create page: 0.156 seconds

Cart

Total : 0.00 €