cancel
Showing results for 
Search instead for 
Did you mean: 

product tax different in list and view

product tax different in list and view

I have a problem which I don't understand at the moment:

I have products with price set to 0 (zero).

In list view (../template/catalog/product/view.phtml) I can get the tax rate with $_product->getData('tax_percent') and this returns the correct rate for products with price 0 or greater then 0. In detail page (../template/catalog/product/view.phtml) the same code returns correct rate for prices greater then 0 and empty string for price 0.

Can somebody out here explain why this happens and how to get the correct tax rate even if the price is 0?

 

Thanks in advance, lo.

Tags (1)