How can I remove the discount prices from my product collection?

Good morning,

I would like to remove the crossed out prices (discount prices) from the collection below the product at this link below (product page):

https://jadis-shop.com/products/doudoune-tnf-700-nupste-retro-2001

website: jadis-shop.com

password: rj

thank you very much in advance

1 Like

Hi @JADIS

If you want to remove cross price in that product only then please add this code in your theme.liquid file before tag

{% if product.id == 8752308093257 %}

{% endif %}

If you want o hide it on all product page, please use this code

{% if template contains 'product' %}

{% endif %}

Hi @JADIS

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
slider-component.slider-mobile-gutter.slider-component-full-width s.price-item.price-item--regular {
    display: none !important;
    
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!