Skip to main content
All CollectionsCMS Support
PrestaShop displays 4 decimals in the discount price.
PrestaShop displays 4 decimals in the discount price.
Antonio avatar
Written by Antonio
Updated over a year ago

Information

This error is documented after updating PrestaShop to 1.7.6, to solve it you have to edit the code of

httpdocs/themes/classic/templates/catalog/_partials/product-prices.tpl and add this code

<span itemprop="price" content="{$product.price_amount}">{Tools::displayPrice(round($product.price_amount, 2))}</span>

Did this answer your question?