Sale prices reflecting as a range when it should be a singular price

Sale prices reflecting as a range when it should be a singular price

pennchng
Visitor
1 0 0

Hi! 

 

My product prices don't reflect correctly when my items are on sale (i.e. price < compare-at price).

 

The bottom two products are correct because there are 2 product variants that are priced differently. However, for the top two products, it shows "[same price] to [same price]" because there's only a single product variant.

 

I should add that when the products are NOT on sale (i.e. price = compare-at price), there's no issue, it shows as just one singular price and not a price range.

 

May I know what code am I missing, and in which file?

 

Screenshot 2024-11-08 at 7.20.20 PM.png

 

Thanks in advance for the help!

Reply 1 (1)

Shadab_dev
Shopify Partner
861 47 87

It's hard to tell from just the images on what code could be missing. There is a bug in the code that's for sure. 

 

Will definitely need collaborator access to the store to look this up.

 

Please reach out via mail for a convenient conversation and collaboration.

 

Best

Shadab

Buy me Coffee, if you feel i was helpful. Email Me or WhatsApp me for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.