How to Unhide Compare at Price

How to Unhide Compare at Price

pojug74
Visitor
3 0 4

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?

Replies 4 (4)

AnneLuo
Shopify Partner
1300 228 267

Could you share your store address with me?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

suyash1
Shopify Partner
10996 1361 1738

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

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Dan-From-Ryviu
Shopify Partner
11742 2303 2487

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.

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

tim
Shopify Partner
4539 546 1658

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.

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com