Remove Sale button but keep sold out button

Topic summary

A user wants to remove the “Sale” badge from their Shopify store while keeping the “Sold Out” badge visible on product cards and collection pages.

Solution provided:

  • Add custom CSS code to hide the sale badge
  • Initial attempts targeted .badge.badge--bottom-left.color-scheme-4 with display: none !important;
  • After troubleshooting, the working solution was implemented through the theme editor’s Custom CSS section (not base.css)

Additional request:
The user also needed to remove the sale badge from individual product pages, which was resolved with:

.badge.price__badge-sale.color-scheme-4 {
    display: none;
}

Status: Resolved. Both collection/card pages and product pages now hide the sale badge while preserving the sold-out indicator.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

How can i remove the sale button but still keep the sold out button on product cards and collections?

1 Like

Hi @MLBildeler

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
.badge.badge--bottom-left.color-scheme-4 {
    display: none;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

That did not work :disappointed_face:

Replace on this one.

.card__inner .badge.badge--bottom-left.color-scheme-4 {
    display: none !important;
}

And Save.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

That didn’t work either :disappointed_face:

Please, add the code on the theme editor. Custom css.

It seems like you have a problem on the base.css.

And Save.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

That worked, thank you so much. Is it possible to remove it from the product page as well?

Add this code same on the Custom Css where you add it.

.badge.price__badge-sale.color-scheme-4 {
    display: none;
}

And Save.

Result:

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

1 Like

Thank you so much! :slightly_smiling_face: