Percentage Discount in Minimal Theme

Mar1a
New Member
1 0 0

Hi,

Please advise which Snippet in Minimal Theme where I can add the Percentage Code.

I am not seeing the product.liquid.

I am not sure to which snippet to put this code.

{% if product.compare_at_price_max > product.price %}You save {{ product.compare_at_price_max | minus: product.price | times: 100.0 | divided_by: product.compare_at_price_max | money_without_currency | times: 100 | remove: '.0'}}%{% endif %}

This is my website www.onlinebargainpurchase.com.

Thank you in advance for your help.

 

0 Likes