How to remove strike-through comparative sale price on minimal theme

Aaron_Boothe
New Member
3 0 0

Can anyone explain what code I can write in to remove the strike-out price from my minimal theme site?  I just want to clean it up a bit.  Thanks!

0 Likes
Sergiu_Ciumac
Tourist
11 0 2

If you are talking about Product page you need to go to your Theme Editor

  •  Search for product-template.liquid
  •  Find the <div class="product-single__prices">
  •  Remove <s id="ComparePrice" class="product-single__sale-price">
                    {{ product.compare_at_price_max | money }}
                  </s>

This should help.

Entrepreneur, founder at nemo.ai
0 Likes
Aaron_Boothe
New Member
3 0 0

Thanks for the reply, but it didn't go.

0 Likes
Jacob_Bracey
Shopify Partner
3 0 2

I tried this and it worked, but i actually require the original price to remain, I just want to remove the strikethrough.  Is this possible please?

pacificbprint
New Member
1 0 0

Hi Sergiu,

I have just tried this and it seemed to work. However, I am not looking for it to be removed from the individual product once it is clicked on. Where I need it removed is upon where all the products are shown together. Is there a way to remove it from just the page where all products are grouped together, but have it remain once that individual product is clicked on?

0 Likes
hman0217
New Member
1 0 0

I have this exact same issue. Did you find a resolution?

0 Likes