Solved

Remove "Sold Out" Label from Collection pages

darboscalante
Shopify Partner
2 0 0

Hello! I'm looking for having the "sold out" label hidden from collection pages but still show on product pages.

I've read that this can be done tweaking the <theme-styles.scss.liquid> I'm using. The thing here is I was unable to find the right line I need to change.

 

This post has a part of the answer for me, but the class name that applies for my theme 😞

https://community.shopify.com/c/Shopify-Design/Out-of-Stock-label-change/td-p/440741


I'm using the Ella theme by the way. Any help would be GREATLY appreciated!

Thank you!

Accepted Solutions (2)
KetanKumar
Shopify Partner
36839 3635 11972

This is an accepted solution.

@teja2810 

Thanks for post.

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.price--sold-out .price__badge--sold-out {
    display: none;
}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

View solution in original post

PageFly-Victor
Shopify Partner
7865 1785 3050

This is an accepted solution.

Hey @darboscalante,

 

You can also try this code 😄

.template-collection .grid-view-item--sold-out .price__badge--sold-out{
display: none;
}

 

Just add it to the theme.scss.liquid file within your theme code. 

By the way, I think your collection page is a bit basic and lacks of much important information. So if you ever think about optimizing the collection page, I suggest you add at least these things:

  • Secondary hover images for each list item
  • Add to cart button (Because these are all products that people can buy instantly without reading much)
  • Information about variants if any.

You can take a look at this article about optimizing collection, aka product listing page. 

View solution in original post

Replies 22 (22)

oscprofessional
Shopify Partner
15830 2369 3072

Hello 

Please share your site url.

I will let you know.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
teja2810
Excursionist
21 0 5

Hello! I'm looking for having the "sold out" label hidden from collection pages but still show on product pages.using debut theme.

teja2810
Excursionist
21 0 5

Hello! I'm looking for "sold out" label hidden from collection pages but still show on product pages.using debut theme.

oscprofessional
Shopify Partner
15830 2369 3072

Hello teja2810,
Please share your site url.
So that i can check and let you know the exact solution here.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
teja2810
Excursionist
21 0 5

my site diy-home.online

KetanKumar
Shopify Partner
36839 3635 11972

This is an accepted solution.

@teja2810 

Thanks for post.

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.price--sold-out .price__badge--sold-out {
    display: none;
}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Victoria1231
Visitor
3 0 1

Dear Ketan, 

I just applied your advice to my css and now my site has crashed. Are you able to help me please? I pasted the code you listed to the bottom of the theme.scss.liquid file and now the site won't render at all! Please help??

KetanKumar
Shopify Partner
36839 3635 11972

 @Victoria1231 

sorry for that issue 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
MLG0810
Excursionist
65 1 8

hello. i need assistane ASAP. i have this white label/badge on products which shows up and it is a label for sold out items. i do not want to it to appear on my products and do not know how to disable it at all - i don't even know if it came from an app because it was not initially there for - it just popped up at some point. it looks so bad, so kindly assist asap. link here.

LizJ
Excursionist
17 0 2

Hi Ketan,

I have tried this on my store as I’m wanting to also remove ‘Sold Out’ from collection pages (but keep on product page). This solution doesn’t seem to work on my theme. Are you able to help me please? 🙏🏼 I am using Icon theme 

LizJ
Excursionist
17 0 2
KetanKumar
Shopify Partner
36839 3635 11972

@LizJ 

thank but o can't see can you please show me?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
LizJ
Excursionist
17 0 2

Sorry @KetanKumar I should have mentioned it is an update of our theme still currently being worked on & has not yet been published. Can I still edit or add to code with this being the case? 

KaedeCashmere
Visitor
3 0 0

Hi,

 

my Site does not have theme.scss.liquid. can you advise me where to hide the sold out bage? Thanks

 

https://46b0ae.myshopify.com/collections/childrens-cashmere

PageFly-Victor
Shopify Partner
7865 1785 3050

This is an accepted solution.

Hey @darboscalante,

 

You can also try this code 😄

.template-collection .grid-view-item--sold-out .price__badge--sold-out{
display: none;
}

 

Just add it to the theme.scss.liquid file within your theme code. 

By the way, I think your collection page is a bit basic and lacks of much important information. So if you ever think about optimizing the collection page, I suggest you add at least these things:

  • Secondary hover images for each list item
  • Add to cart button (Because these are all products that people can buy instantly without reading much)
  • Information about variants if any.

You can take a look at this article about optimizing collection, aka product listing page. 

susi1717
Visitor
1 0 1

Hello!
I tried the solution mentioned above. Unfortunately, it doesn't work for the theme I am using (--> Spring Theme).

Can anyone help, please?

Thanks, Susanne

The website is: https://www.pinkewelle.de/collections/all

 

 

KetanKumar
Shopify Partner
36839 3635 11972

Hello, @susi1717 

Welcome to the Shopify community!
and Thanks for your Good question.

1. Go to Online Store->Theme->Edit code
2. Asset->/main.css->paste below code at the bottom of the file.

.label-product.sold-out {
display: none;
}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
houseofcheshire
Visitor
2 0 1

Hi, I am using the Brooklyn Theme and none of the above seem to be working for me. 

my website is:

www.houseofcheshire.co.uk

 

Thanks you 

Beth

KetanKumar
Shopify Partner
36839 3635 11972

Hello, @houseofcheshire 

Welcome to the Shopify community!
and Thanks for your Good question.

can you please share want do you exactly 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
sourcematerialc
Visitor
1 0 1

looking to remove  sold out.

I had to set my inventory to 10,00000

to get to go away

I have the simple theme

my site is https://sourcematerialcontent.com

KetanKumar
Shopify Partner
36839 3635 11972

@sourcematerialc 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

sorry but i can't see sold out label at collection page 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
blackcatcabood
Visitor
1 0 0

HI

I am trying to remove "Sold Out" from my items at: https://blackcatcaboodle.com,

 

examples at https://blackcatcaboodle.com/collections/occult-religion   Brooklyn theme. thanks.