We used "Promotions > Catalog price Rule " to give discounts for all products in our site.
for some category products we gave 20 % off and for some products we gave 10 % off.
i want to display percentage of discount on "product list " and "product view page" as like below
" [20 off]%"
please help me to find solution.
Best Answer
Here is how you can get the discount percentage.
Let's say
$_product
is the current product instance:for the product list you can integrate this in the
foreach
loop that lists all products and on the product view page you can add it anywhere.