Dear @dynamiczach ,
I have seen the following code on this page: https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce (check “Prices including tax – Experimental Behavior”).
The code is:
add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ )
I think that this code should do what I want but I’m not sure.
I wanted to to try it but I’ve probably done something wrong because when I added the code, I couldn’t open the basket anymore on my website.
Here is what I did, could you please tell me how to add this code correctly?
1) I went to WP content – themes and I went in the folder of my Child theme
2) I opened the functions.php file to edit it
3) I copied the code and I pasted it at the end of my functions.php file so I pasted exactly this code:
add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ )
What did I do wrong? Should I add something before “add_filter” or at the end of the code?
Isnt’it the right place to copy the code?
Thank you very much in advance for your help.