How to Unhide Compare at Price

By default, Shopify hides the compare-at prices when the compare at price is equal to or less than the current price.

Can anyone help me on how I can change this to show the compare at prices on my website’s product page and collection page when they are lower/equal to the current price using Dawn theme?

2 Likes

Could you share your store address with me?

@pojug74 - can you please share this page link where you have compare price?

Hi @pojug74 ,

You will need to change the condition of the code on your theme to make compare at price appear if it is equal to or less than the current price.

However, in my mind, it seems odd if the compare price is equal to or less than the sale price on your store.

I am curious – can you share the logic behind your request?

Usually, compare_at_price > price is a signal that there is a discount now, hurry up, make a purchase.

If compare_at_price is lower, then it means visitors getting a worse offer then “usual”?

It may make sense to show it as some historic reference, but stilll..

You would (most likely) need to edit your theme code to implement this change.
Depending on you theme it (most likely) will prevent further automated updates.

Whether it worth it is absolutely up to you, but to get any answer you’d need to at least specify what theme you’re using and, preferably, a link to your store.