Remove sold out badge on collection and product pages

Solved

Remove sold out badge on collection and product pages

Franrulzok
New Member
9 0 0

Hi, I'm using the Woodstock theme. Site URL is: https://leadingsolutions.net.au.

 

I've removed the 'sold out' and 'sale' text from the badges on the collection and product pages but looking to remove the coloured badge behind them too. See screenshot. 

 

Thanks!Screenshot 2024-06-26 105819.png

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4416 1006 1657

This is an accepted solution.

Hi @Franrulzok 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.price__badge--in-card.price__badge, .card__inner .badge {
display: none !important;
}
</style>

PageFlyRichard_0-1719362303869.png

 

When checking on the issue  for you, I've had an suggestion for you that you might consider to make it.

PageFlyRichard_1-1719362378186.png

 

On the collection page, you can add the review star rating for each product above the title, and also make the product price become a highlighter

 

That will increase trust for your product - and also make customer easier to know the price as it is most important information of the product 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
1115 383 452

Hi @Franrulzok

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSCommerceHDL_0-1719360138760.png

 

Step 2: Search file base.css, theme.css, styles.css, custom.css or theme.scss.liquid

BSSCommerceHDL_1-1719360145561.png

 

Step 3: Insert the below code at the bottom of the file -> Save

.price--sold-out .price__badge-sold-out, .price--on-sale .price__badge-sale {
    display: none !important;
}

Here is result: 

BSSCommerceHDL_2-1719360244767.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Franrulzok
New Member
9 0 0

Thanks for your reply. What about on the collection page view. It's still showing the below white block over the image...Screenshot 2024-06-26 105819.png

PageFly-Richard
Shopify Partner
4416 1006 1657

This is an accepted solution.

Hi @Franrulzok 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.price__badge--in-card.price__badge, .card__inner .badge {
display: none !important;
}
</style>

PageFlyRichard_0-1719362303869.png

 

When checking on the issue  for you, I've had an suggestion for you that you might consider to make it.

PageFlyRichard_1-1719362378186.png

 

On the collection page, you can add the review star rating for each product above the title, and also make the product price become a highlighter

 

That will increase trust for your product - and also make customer easier to know the price as it is most important information of the product 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Franrulzok
New Member
9 0 0

Thanks! I have enabled product ratings but think I have to configure an app too. What do you mean by 'make the product price become a highlighter' ?