Compare at price not showing on Product Page except when I enter $0.00

Highlighted
New Member
2 0 0

Hi, I'd appreciate anyone guiding me in the right direction, I have vantage theme and the Compare at price stopped showing up even though it was entered correctly (Compare price at = original price & Price = reduced price).  A little twist is if I entered $0.00 in the Compare at price, then it shows up with $0.00 crossed out next to the reduced price on product page.

 

Any help would be appreciated, thanks in advance,

 

Pim

0 Likes
New Member
2 0 0

Here is an example: 

 

- the "Sale" listing on the collection page shows correct sale icon, current price with compare at price crossed out; however,

- when you click on the sale listing, the compare at price doesn't show up:

https://pims-supplies.com/search?q=cabochon+setting+-+base+%26+glass

0 Likes
Shopify Partner
712 101 149

Hi,

Follow this:

Search variant.compare_at_price in product-template.liquid  and replace it with bellow

{% if variant.price < variant.compare_at_price %} {{ variant.compare_at_price | money }}{% endif %}

If you can't let me know because its depend  on your theme code.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
0 Likes