This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Jack Richardson
I have my prices entered as ex-tax and have my woocommerce setting to display prices as inc tax. The drop down that appears for the cart when you hover your mouse over it is showing prices as ex tax. This needs to show as inc tax. How can this be fixed?
thanks
Hello,
You need to edit the wp-content/themes/royal/framework/woo.php file, change code in line 1302 $product_price = get_option( 'woocommerce_display_cart_prices_excluding_tax' ) == 'yes' || $woocommerce->customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price();
to the following:
$product_price = $_product->get_price_including_tax();
Make changes in child theme https://codex.wordpress.org/Child_Themes not to lose changes after theme update.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up