- Posts: 12
- Thank you received: 0
- Forum
- Support questions
- WooPrice Calculator (Pro)
- [SOLVED]Calculator field label + values in minicart / sidecart
×
WooPrice Calculator PRO
[SOLVED]Calculator field label + values in minicart / sidecart
- Kristijan Cikor
-
Topic Author
- Offline
Less
More
2 years 8 months ago #1548
by Kristijan Cikor
Kristijan Cikor replied the topic: [SOLVED]Calculator field label + values in minicart / sidecart
Dear Enrico,
thanks! (solved)
thanks! (solved)
Please Log in or Create an account to join the conversation.
- Enrico
-
- Offline
Less
More
- Posts: 367
- Thank you received: 18
2 years 8 months 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:
to
Kind Regards,
Enrico
AT424
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.
- Kristijan Cikor
-
Topic Author
- Offline
Less
More
- Posts: 12
- Thank you received: 0
2 years 8 months ago - 2 years 8 months 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.
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: 2 years 8 months ago by Kristijan Cikor.
Please Log in or Create an account to join the conversation.
Moderators: david
- Forum
- Support questions
- WooPrice Calculator (Pro)
- [SOLVED]Calculator field label + values in minicart / sidecart
Time to create page: 0.323 seconds