New Shopify Certification now available: Liquid Storefronts for Theme Developers

Remove discount price for collection

169 1 19

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):





password: rj


thank you very much in advance

Replies 2 (2)
Shopify Partner
5623 1036 1063


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

{% if == 8752308093257 %}
.price--on-sale .price-item--regular { display: none !important; }
{% endif %}

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

{% if template contains 'product' %}
.price--on-sale .price-item--regular { display: none !important; }
{% endif %}

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

Shopify Partner
4190 963 1168


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;


  • And Save. 
  • Result:
  • Made4uoRibe_0-1699286761674.png


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

Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at