Remove "Sold Out" Label from Collection pages

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
37043 3644 12026

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 3095

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 36 (36)

oscprofessional
Shopify Partner
16115 2409 3121

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 | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
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.

Lajos
Tourist
11 0 0

Hi can you help me please?

I need to hide the sold-out tag from my product catalog. I tried all the advice but it doesn't work for my theme.

My url: https://www.energetikon.com/collections/all

Theme: Colorblock

Thanks for the answer

Best regards

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
16115 2409 3121

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 | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
teja2810
Excursionist
21 0 5

my site diy-home.online

KetanKumar
Shopify Partner
37043 3644 12026

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
37043 3644 12026

 @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
37043 3644 12026

@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

Jazbird
Tourist
6 0 5

hi there I have followed these instructions but cannot find this theme.scss.liquid code in the Assets area? Would it be different with other themes? My website is https://admin.shopify.com/store/saint-somebody-usa - using Blockshop theme by Troop. Thank you in advance! 🙂

KetanKumar
Shopify Partner
37043 3644 12026

@Jazbird 

can you please provide  proper store url

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
Jazbird
Tourist
6 0 5

We currently have a domain redirect in place but the .com.au site uses the same theme. It's https://saintsomebody.com.au/

Thank you for your help 🙂

KetanKumar
Shopify Partner
37043 3644 12026

@Jazbird thanks for url i can see only sale label doesn't show sold out 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
Jazbird
Tourist
6 0 5

Are you able to see this page? This is the actual site as we are using this domain for now. https://saint-somebody-usa.myshopify.com/collections/one-pieces.

 

We don't want the label to appear on collection pages. Thank you 🙂

KetanKumar
Shopify Partner
37043 3644 12026

@Jazbird great thanks can you please try this code its work
1. Go to Online Store->Theme->Edit code
2. Asset->/theme--async.css ->paste below code at the bottom of the file.

.product--label[data-label-type="out-of-stock"] {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
Jazbird
Tourist
6 0 5

Amazing thank you! That worked. Really apprecoate your help! 🙂

Jazbird
Tourist
6 0 5

Appreciate! 🙂

KetanKumar
Shopify Partner
37043 3644 12026

@Jazbird its  my pleasure to help us 

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
Josiah311
Visitor
2 0 1

I am having the same issue and cannot get this code to work on my site. I'm using Dawn theme...

 

www.waldlauferfootwear.com

KetanKumar
Shopify Partner
37043 3644 12026

@Josiah311 oh sorry for that issue but i can't see sold out i can see coming soon 

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

PageFly-Victor
Shopify Partner
7865 1785 3095

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
37043 3644 12026

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
37043 3644 12026

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
37043 3644 12026

@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 1

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.

KetanKumar
Shopify Partner
37043 3644 12026

@blackcatcabood  can you please send brookly theme url 

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