Dawn Theme: How to show discount on Featured Product on Homepage (% and Monetary Value)

Akash18
Excursionist
14 0 4

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!

Replies 10 (10)

Zworthkey
Shopify Partner
5581 642 1565

@Akash18 
Check out this link:

https://amai.com/how-to-apply-discounts-to-specific-products/

 

if it not works then let me know.

KetanKumar
Shopify Partner
36839 3635 11972

@Akash18 

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 %}
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Akash18
Excursionist
14 0 4

Please check the screenshot below. It is sowing 100% in sted of 50%.

Akash18_0-1642007511075.png



Thank you!

Akash18
Excursionist
14 0 4

Still waiting for your reply.

Akash18
Excursionist
14 0 4

I will get a response?

StiliyanD
Visitor
3 0 0

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

PageFly-Victor
Shopify Partner
7865 1785 3050

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

StiliyanD
Visitor
3 0 0
Hello,
how can i contact the Theme ?
StiliyanD
Visitor
3 0 0

Hello,

 

how can you help me ?

PageFly-Victor
Shopify Partner
7865 1785 3050

you can follow this Shopify tutorial link to contact the theme

https://help.shopify.com/en/manual/online-store/themes/theme-support