Wrong price in cart

engels
54 Posts
engels posted this 18 May 2020

Hi Themler Team,

there ist a strong issue with product prices in the cart and also the flyout cart.
The issue comes up when product prices are captured WITH tax in wc and you want to show prices WITHOUT tax in the cart and checkout.
More details you may find in the following screenshots.

For the main-cart replacing code in cart.php seems to be a solution. Find it below the screenshots.
Maybe you could check that and fix that in the next themler update.
Meanwhile could you please tell me where to find the code for the flyout-cart??

Thanks
Koepi

price-issue-01.jpg

price-issue-02.jpg

price-issue-03.jpg

price-issue-04.jpg

!-- Product price Original Themler - Code-->

                        <td class="product-price" data-title="<?php esc_attr_e('Price', 'woocommerce'); ?>">
                            <?php
                                $product_price = get_option('woocommerce_display_cart_prices_excluding_tax') == 'yes' || $woocommerce->customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price();
                                echo apply_filters('woocommerce_cart_item_price_html', wc_price($product_price), $cart_item, $cart_item_key);
                            ?>
                        </td>

!-- End Original Themler Code-->

!-- Product price taken from the wc cart-template-->

                        <td class="product-price" data-title="<?php esc_attr_e( 'Price', 'woocommerce' ); ?>">
                        <?php
                            echo apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key ); // PHPCS: XSS ok.
                        ?>
                    </td>

!-- End Product price wc cart-template-->


Hi Themler Team, there ist a strong issue with product prices in the cart and also the flyout cart. The issue comes up when product prices are captured WITH tax in wc and you want to show prices WITHOUT tax in the cart and checkout. More details you may find in the following screenshots. For the main-cart replacing code in cart.php seems to be a solution. Find it below the screenshots. Maybe you could check that and fix that in the next themler update. Meanwhile could you please tell me where to find the code for the flyout-cart?? Thanks Koepi !price-issue-01.jpg! !price-issue-02.jpg! !price-issue-03.jpg! !price-issue-04.jpg! **!-- Product price Original Themler - Code-->** <td class="product-price" data-title="<?php esc_attr_e('Price', 'woocommerce'); ?>"> <?php $product_price = get_option('woocommerce_display_cart_prices_excluding_tax') == 'yes' || $woocommerce->customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price(); echo apply_filters('woocommerce_cart_item_price_html', wc_price($product_price), $cart_item, $cart_item_key); ?> </td> **!-- End Original Themler Code-->** **!-- Product price taken from the wc cart-template-->** <td class="product-price" data-title="<?php esc_attr_e( 'Price', 'woocommerce' ); ?>"> <?php echo apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key ); // PHPCS: XSS ok. ?> </td> **!-- End Product price wc cart-template-->** ------------------------------------------------------
Vote to pay developers attention to this features or issue.
6 Comments
Order By: Standard | Newest
engels
54 Posts
engels posted this 28 May 2020

Hello? Any answer?

Hello? Any answer?
solarpowerearth947
1 Posts
solarpowerearth947 posted this 28 May 2020

Hello

Hello

Last edited 01 June 2020 by solarpowerearth947

allan735berner
3 Posts
allan735berner posted this 18 January 2025

To temporarily disable integrated graphics on your HP Pavilion 15-ec1000, open Device Manager, disable your integrated graphics card (e.g., Intel Iris Xe Graphics), and restart your computer. Alternatively, use the NVIDIA Control Panel to prioritize your RTX 3050 for specific games. Remember to re-enable integrated graphics after gaming. NVDMV

To temporarily disable integrated graphics on your HP Pavilion 15-ec1000, open Device Manager, disable your integrated graphics card (e.g., Intel Iris Xe Graphics), and restart your computer. Alternatively, use the NVIDIA Control Panel to prioritize your RTX 3050 for specific games. Remember to re-enable integrated graphics after gaming. [NVDMV][1] [1]: https://www.nevadanvdmv.com/
vijaykumarsonkar844
8 Posts
vijaykumarsonkar844 posted this 18 January 2025

In addition to being a standard application, Free Fire Gringo XP APK is a dependable partner that will help you win every time you enter a match. The unique feature is that this application was created by a group of professionals with backgrounds in gaming, guaranteeing that users will have the greatest possible experience.

Gringo XP v60 APK's ability to maximize your phone's performance makes it possible to play games more smoothly and without lag, which increases your chances of winning. This is one of its most notable features. This is particularly crucial in the Free Fire world, where survival is decided by every move and every second.

In addition to being a standard application, Free Fire [Gringo XP][1] APK is a dependable partner that will help you win every time you enter a match. The unique feature is that this application was created by a group of professionals with backgrounds in gaming, guaranteeing that users will have the greatest possible experience. Gringo XP v60 APK's ability to maximize your phone's performance makes it possible to play games more smoothly and without lag, which increases your chances of winning. This is one of its most notable features. This is particularly crucial in the Free Fire world, where survival is decided by every move and every second. [1]: https://gringoxp.com/
KevinKeys4125
1 Posts
KevinKeys4125 posted this 21 January 2025

Thank you for bringing this to our attention and providing detailed information with screenshots—this is really helpful! We’ll definitely investigate the issue further and see if it can be addressed in the next Themler update.

In the meantime, regarding the flyout cart, the code is typically located in the theme files under [specific file path or folder structure]. It might be in a file named something like flyout-cart.php or within the JavaScript controlling the cart behavior. However, it’s best to check the theme’s specific documentation or use a search tool to locate the exact file. Receiptify

If you’re comfortable, you could also share the temporary fix you’ve implemented for the main cart—this might help others facing the same issue. Let us know if you need any further assistance!

Thank you for bringing this to our attention and providing detailed information with screenshots—this is really helpful! We’ll definitely investigate the issue further and see if it can be addressed in the next Themler update. In the meantime, regarding the flyout cart, the code is typically located in the theme files under [specific file path or folder structure]. It might be in a file named something like flyout-cart.php or within the JavaScript controlling the cart behavior. However, it’s best to check the theme’s specific documentation or use a search tool to locate the exact file. [Receiptify][1] If you’re comfortable, you could also share the temporary fix you’ve implemented for the main cart—this might help others facing the same issue. Let us know if you need any further assistance! [1]: https://www.receiptify.vip/
eja.ge.r.m
26 Posts
eja.ge.r.m posted this 24 January 2025

The loyalty programs within Juwa 777 are another noteworthy benefit. For players who frequent the app regularly, there are often loyalty rewards or VIP programs in place, offering exclusive benefits such as higher payouts, personalized bonuses, or access to special games and events Download the apk from this webiste. These loyalty initiatives not only incentivize repeat play but also make players feel valued and appreciated, helping to foster long-term engagement with the platform. The longer players stay on the app, the more rewards they can unlock, creating a sense of progression that motivates continued interaction.

The loyalty programs within Juwa 777 are another noteworthy benefit. For players who frequent the app regularly, there are often loyalty rewards or VIP programs in place, offering exclusive benefits such as higher payouts, personalized bonuses, or access to special games and events [Download the apk from this webiste][1]. These loyalty initiatives not only incentivize repeat play but also make players feel valued and appreciated, helping to foster long-term engagement with the platform. The longer players stay on the app, the more rewards they can unlock, creating a sense of progression that motivates continued interaction. [1]: https://juwa777app.com/
You must log in or register to leave comments