
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




!-- 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-->** ------------------------------------------------------