Show prices with tax in Minicart widget
-
Hi,
I set up my tax configuration to show prices excluding tax in Cart and Checkout. However I noticed that the prices displayed in the Minicart widget also exclude tax.
Is it possible to display the prices in the Minicart with tax included as displayed on my product page and keep the prices in Cart and Checkout pages without tax?
Here is the line of code to display the product price in minicart.php
$product_price = apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key );
Any help would be much appreciated!
Thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Show prices with tax in Minicart widget’ is closed to new replies.