show original price and discounted price on a product automatically when running a discount!

I will like to show both the original price and discounted price, on a product when running a discount! So, If I create a discount of 10% for all my t-bleeps, I want the product to show both prices AUTOMATICALLY when I created the discount without me having to go to each product, each t-shirt, each color, and each size, nor having to edit in bulk from products. I hate it.

I just want to be able apply such discount and it will automatically show both prices on the product, independantly of size, color, etc. NOT AN APP.

I want to add the coding!

Anyone knows how to to do so??? thanks in advance.

Hi @Fabby-makeart ,

This is possible. You can follow these steps:

  • 1: You need to identify the products that need to be discounted. It can be distinguished through tags, metafields, product or collection names,…

  • 2: If you are using Dawn theme, you need to add condition and change display in price.liquid file.

I hope it helps!

thanks for your answer,

how would i do that? option1 or option 2?

thanks for your response, I already tried chatgtp but it was not working well.

Hi @Fabby-makeart ,

It’s not options, it’s steps, so you’ll need to take it step by step.

1 Like

The code is not complete according to “edit code” so it is not functioning, any ideas?

@Fabby-makeart I literally said the same thing out loud: “I don’t want to touch 47 sizes of one product ever again.”

Tried a few Liquid tweaks — none worked right, especially with auto discounts. So I found this workaround: a lightweight app that auto-shows original + discounted price everywhere without touching variants or changing compare-at prices manually.

It’s called Adsgun (https://apps.shopify.com/adsgun). Just set the discount and you’re done.

If someone cracks a pure-code solution, I’d love to see it too — but this one spared me a lot of headaches.