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

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?

Thanks in advance for the help!

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