E
E
Elio Don2020-04-30 22:01:44
Prestashop
Elio Don, 2020-04-30 22:01:44

What is the formula for the price output function?

Good evening everyone, I have a problem, I want to display several prices with discounts, standard tools do not support this method, I found a function, but I can’t make out what to add to it.
This function displays the price in the front.

{$product.price_amount} "> {$product.price}

How can I add a formula to this function that will allow me to display the result with the discount.
For example, the amount currently displayed is -1000$. I
want the amount to be displayed minus the discount in - 7% off this price
Get in front - 930 $

v1.7

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question