We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to hide sale badge and compared price in Horizon theme?

Solved

How to hide sale badge and compared price in Horizon theme?

kayyoung
Visitor
2 0 1
Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Hi @kayyoung 

You can do this by adding the following code to Custom CSS in Sales Channels > Online Store > Themes > Customize > Theme Settings.

product-card .product-badges__badge--rectangle, 
product-card .compare-at-price { display: none !important; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 4 (4)

devcoders
Shopify Partner
1654 190 545

Hello @kayyoung 

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Hi @kayyoung 

You can do this by adding the following code to Custom CSS in Sales Channels > Online Store > Themes > Customize > Theme Settings.

product-card .product-badges__badge--rectangle, 
product-card .compare-at-price { display: none !important; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

kayyoung
Visitor
2 0 1

Thanks a lot, it worked.

jakeclifford
Shopify Partner
93 18 25

Hi @kayyoung 

To do this you can add some custom CSS to the site.

1. In the theme editor click the settings icon in the top left
Screenshot 2025-06-15 at 4.23.23 pm.png

2. Find the custom CSS section and paste in this code

product-card .product-badges {
  display: none;
}

product-card .compare-at-price {
  display: none;
}

 

That should then hide both the sale badge and crossed out price 


If that helped solved your problem i'd appreciate it if you liked and set this message set this to the accepted solution.

Feel free to reach out if you have any more questions,
Jake 

I'm Jake the Shopify Wizard! If helpful Like and Mark as an Accepted Solution
My Blog - Tips and Tricks for Shopify Horizon and AI features Horizon + AI

Struggling to solve an annoying issue? Get Help Fast