Hello,
I'm trying to do math operation between two variables inside product-discounts.tpl but result is wrong...
{$product.regular_price}
[output: 12,85 €]
{$quantity_discount.discount}
[output: 9.8%]
{$product.regular_price*$quantity_discount.discount}
[output: 117,6] Should be: 12.85*9.8= 125.93
Any idea?
I've tryed:
{$product.regular_price|floatval}
[output:12] Should be: 12.85
Thanks in advance
Prestashop 1.7