Hi All, is it possible to hide the ‘sale’ badge but DO show the ‘sold’ badge?
Topic summary
A user wants to hide the ‘sale’ badge on their Shopify store while keeping the ‘sold out’ badge visible on product and collection pages.
Proposed Solution:
- Access the theme code via Online Store → Theme → Edit code
- Open the
theme.liquidfile - Add custom CSS before the
</body>tag targeting the sale badge class - The CSS uses
display: none !importantto hide elements with the specific badge class (card__badge span.badge--bottom-left.color-scheme-5)
Status: The solution appears incomplete in the provided conversation, as the CSS code snippet is partially corrupted or improperly formatted. The discussion remains open with no confirmation of whether the solution successfully resolved the issue.
Hello @DASCPA
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
1 Like

