Now
I want like this
how can i achieve this. Please Help
@labelnumaani Hope you are doing well.
Could you please share your store URL? and also share which theme you are using.
dawn theme.
https://labelnumaani.com/
@labelnumaani Add the below code just in your price snippet where you want to display the % off.
{% if product.compare_at_price_max > product.price %}
{{ 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 %}