How can I remove the compare price feature from my entire online store?

Hi,

All of a sudden, most products have gone on sale automatically. I use an app to sync prices from the supplier and I suspect it’s the app that’s playing tricks and I don’t wish the whole store to be on sale :slightly_smiling_face:

I tried to remove the compare prices with this code in theme.liquid but that didn’t work.


How can I easily remove the compare price from the whole store?

https://doftnoter.se/

Password: ***

Hello @entranced ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your base.css file and paste the following code below:

body  .price__compare {
    display: none;
}

Thanks

Thanks Guleria, it worked well with the compare price.

How can I remove the badges and change the color on the price to black color, which is the default color?

@entranced

Please add the following CSS code to your assets/component-card.css bottom of the file.

#shopify-section-template--19303345258839__featured-collection .card__badge {display: none !important;}
#shopify-section-template--19303345258839__featured-collection .price--on-sale .price-item--sale {color: #000 !important;}

Thanks!

Thanks a lot!