This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago ago by Eva Kemp
The price displays correctly everywhere else (including tax) except for the mini-cart. I’ve tried activating storefront, and that fixes it. So the problem appears to be theme specific.
Can you point in right direction for what file needs to updated to display the mini-cart prices correctly?
Thanks!
Z
Hello,
You need edit the file wp-content/themes/classico/framework/woo.php and replace the code in line 773:
$product_price = get_option( 'woocommerce_display_cart_prices_excluding_tax' ) == 'yes' || $woocommerce->customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price();
with this code:
$product_price = $_product->get_price_including_tax();
Regards,
Eva Kemp.
Tagged: mini-cart, price, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up