Remove sold out badge on collection and product pages

Solved

Remove sold out badge on collection and product pages

Franrulzok
Tourist
27 0 1

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
4991 1118 1796

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!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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
2305 835 908

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Franrulzok
Tourist
27 0 1

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
4991 1118 1796

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!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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

Franrulzok
Tourist
27 0 1

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' ?