Hi,
I manually solved this be adding the following codes :
Shopify Automatic Discount : 25% on ALL products except products with product type is NODISCOUNT (or whatever condition you have on your automatic discount)
On Product page: snippets\product-price.liquid
Replace From :
assign compare_at_price = variant.compare_at_price> assign price = variant.price
To:
if product.type == “NODISCOUNT”> assign compare_at_price = variant.compare_at_price> assign price = variant.price> else> assign compare_at_price = variant.price> assign price = variant.price | times: 0.75> endif
The above code will show the automatic percentage discounts on the product page (matching the cart page), However, the only issue here is that the discounted price will not be showing in Google. (Fact: When you set manual discount on product admin , i.e compare price/price fields , Google will show the discounted price ) . Anyone suggests a solution for this google issue?
Regards
NewZealand
Any update on this question.
1 Like
This worked for me for the product page but in the home page in my bestselling products section it still shows without the discounted price. Can you tell me if there is a code for that too?
its 2024… is there an update for this? maybe there is and i just havent found it yet.
1 Like
Yes I am still looking for this too. There may be third party apps that can acheive this, but I guess the next best option is to “bulk edit” every product in that collection to allow for it. What a huge pain!
thanks again Shopify for listening to us… why don’t you ever just listen to your stores? 
If anyone have used this code on debut theme what changes you made?
As when I am using it it’s not working
That’s a work around, but it doesn’t create the same customer experience. Showing the regular price and then the discounted price motivates customers. Just discounting your price, now just becomes your price. You will not get the same results in sales. Shopify should be ashamed of themselves, but that ship sailed when they go rid of phone support.
Its not a bad idea, its just a shame that this is the best we can do with this awful system.
Here in 2024 and wondering the same thing.. Black Friday is coming up and there’s nothing without coding.. this is such a BASIC feature?
Hi @armdgnthr and other merchants,
I have just made an app specifically to show discounted product prices on the product page and collection , the app utilizes metafields and can display discounted price (from the automatic discount you have created on Shopify Admin) on the product page / collection / search result. (Yes it is unfortunate that Shopify does not have this functionality natively)
You can generate the discounted price text with one click in the app (it will follow the discount percentage / amount of the automatic discount).
On product page, you can use the app block to display the discounted price (you can drag and drop it in the theme editor), which does not impact the store speed, as it uses Liquid to output the discounted price. (There’s also instruction in the app for showing discounted price in collection / home page, I would be happy to assist on the setup)
The app name is Yagi Automatic Discount Helper (https://apps.shopify.com/yagi-automatic-discount-helper ), you can view the demo store in the app listing page to see how it works.

Hope this can help!
Regards,
Axel Kee (developer of the Yagi Automatic Discount Helper app)