Prestige want to display % OFF

Highlighted
New Member
1 0 0

I have Prestige theme and would like to display % OFF my store https://beautyzenzone.com I was able to accomplish this by following steps on https://community.shopify.com/c/Shopify-Design/Prestige-Change-quot-On-Sale-quot-badge-to-quot-xx-OF... I added the following to Product-template.liquid

{{ product.compare_at_price | minus: product.price | times: 100 | divided_by: product.compare_at_price | replace: '0,', ''| append: "% OFF"}} 

but this ONLY worked on the product collection pages it doesn't work on individual product pages. I would like this to also be displayed on individual product pages. Any help is highly appreciated.

0 Likes