dawn theme-apply discount to all shown products on products page

Popcorn
Explorer
104 0 13

Hi, I recently put everything in my shop on a 15% discount sale. However, I don't want the sale price to show in the cart only, I'm also looking for it to show for each product so the customer can automatically see the sale price. I also, do not want to use the "compare price" option since I have about 200 products in my shop. I was wondering if there's any code for this? I've tried different things on my end but to no avail. Thanks in advance! 🙂 

 

Link: https://www.luawolvescrystals.com/

Replies 4 (4)

Developer-G
Shopify Partner
3079 604 857

Hello @Popcorn ,

Copy the code from cart template and use it with product templates or others where you need it. 
Just replace the variable a/to the for loop.

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter
Popcorn
Explorer
104 0 13

Hi, thank you! I'm still confused on how to do that. I'm not sure what code you're referring to.

Developer-G
Shopify Partner
3079 604 857

  I'm referring to cart page code. 
You said the sale price code is working in the cart page but you need it everywhere so the simple solution is copy that code and change the variable a/to the for loop.

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter
Popcorn
Explorer
104 0 13

I'm sorry, I have a limited knowledge on coding, so i'm very confused on the "change the variable a/to the for loop". I've tried looking it up online so that I can get an understanding but I still dont quite get it. If you dont mind, may you please share an example on how to change the variable? Thanks so much!