What's your biggest current challenge? Have your say in Community Polls along the right column.

Remove Sale button but keep sold out button

Solved

Remove Sale button but keep sold out button

MLBildeler
Excursionist
24 0 3

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

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9124 2179 2688

This is an accepted solution.

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

 

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

 

And Save. 

Result:

Made4uoRibe_0-1731412163281.png

 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
9124 2179 2688

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;
}

 

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

     

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
MLBildeler
Excursionist
24 0 3

That did not work 😞

Made4uo-Ribe
Shopify Partner
9124 2179 2688

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! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
MLBildeler
Excursionist
24 0 3

That didn't work either 😞

Made4uo-Ribe
Shopify Partner
9124 2179 2688

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

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

Made4uoRibe_0-1731355989443.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
MLBildeler
Excursionist
24 0 3

That worked, thank you so much. Is it possible to remove it from the product page as well?Skjermbilde 2024-11-11 234731.png

Made4uo-Ribe
Shopify Partner
9124 2179 2688

This is an accepted solution.

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

 

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

 

And Save. 

Result:

Made4uoRibe_0-1731412163281.png

 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
MLBildeler
Excursionist
24 0 3

Thank you so much! 🙂