Hello,
When i am connected as admin or customer or any other role apart the quest user the applied tax on product doesn’t work.
When i am in the checkout page the vat is zero and this line of code returns an empty array.
WC_Tax::get_rates( $product->get_tax_class() );
This : $product->get_tax_class()
returns the tax class of the product.
The major problem is in the checkout. In the tax settings i want the prices to be exclusive of tax in order to see the tax separately of the price of the product. And the tax is zero.
Could you help me solve this problem? I cant understand why this is happening.
Could you answer me as fast as possible because this a huge problem and it needs to be solved fast.
Thank you in advance.