Jump to content

Wrong price round in productlist


Martino00

Recommended Posts

My PrestaShop is displaying different prices for a product in the product list and the same product on the product page.

 

The price displayed on the product page is correct.

For example.102.087

 

But in the product list there is the price displayed as  102.090

 

So probably somewhere a rounding error. But where? That's the question.

 

 

A couple of months ago i changed a lot of roundings from 2 to 3 decimals. So it can be that i have forgotten one of them. But i don't know where.

 

 

 

Link to comment
Share on other sites

ok. but can someone help me with the right file?

Do i need to check the product.php

or can it be in a whole other file?

 

It is strange that my prices are correctly displayed on the product page but only wrong on the product-list

Because both product.tpl and product-list.tpl are template files i should think they use the same value for the price and old-price display.

Link to comment
Share on other sites

×
×
  • Create New...