A space to discuss online store customization, theme development, and Liquid templating.
Hello everybody, I want to add a % OFF under the price showing the % saved (i.e. 30% OFF) and then the amount saved in monetary value (i.e. You save ₹76).
Is there anyone who has made this work?
Waiting for your reply.
Thank you!
@Akash18
Check out this link:
https://amai.com/how-to-apply-discounts-to-specific-products/
if it not works then let me know.
yes, please try 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 %}
Please check the screenshot below. It is sowing 100% in sted of 50%.
Thank you!
Still waiting for your reply.
I will get a response?
Hello ,
I have a question
Why is the Produti discount not showing up on my site?
I only see it when I edit and change costumes in the theme
What is the reason
Hi @StiliyanD
About the Product discount doesn't show up on the page, you need to contact the theme so they can check if the product discount code actually works as this is usually caused by the code not working or the theme settings needing to be tweaked.
Hope this answer helps.
Best regards,
Victor | PageFly
Hello,
how can you help me ?
you can follow this Shopify tutorial link to contact the theme
https://help.shopify.com/en/manual/online-store/themes/theme-support