Jump to content

BAD counting in blockbestsellers


cerovic

Recommended Posts

Hi. I have one problem and I can not find why is this happening.

 

I wanted to have prices with TAX and without TAX in the same tine on page, so I this code to product-list.tpl and product.tpl:

{convertPrice price=$product.price} with TAX
<br>  {convertPrice price=($product.price/1.2)} without TAX

I USED /1.2 since I use 20% TAX

 

This shows both, price with and without TAX  on category page and product page. Finaly I wanted to ad this code to blockbestsellers to have same prices on this module. It works, however it result is different number. See http://ab-tech.cero.sk/sk/9-tlaiarne - concretely Lexmark Optra T644.   .

 

Does anybody have any idea why the same code has different results?

 

The caterory and product page result is correct so it is price without TAX 20% and on blockbestsellers it always count badly.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...