We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Sold out badge icon on product cards

Sold out badge icon on product cards

AI_CR7
Tourist
38 0 2

Hi there guys,

 

I am trying to add the sold out badge to my product cards (for items that are sold out obviously). 2 Months ago I funny enough I was trying to remove the badge and came right with coding. Can't remember if I added or removed coding.

 

But i'd like to have the button back on my product cards.

 

Anyone who can assist?

Replies 6 (6)

parth_ghelani
Shopify Partner
259 38 40

Hello @AI_CR7 

Can you please share the store URL and password (if applied) ?

So i can check and suggest you the best solution for your question.

Was your question answered? Mark it as an Accepted Solution.
If you need further assistance to optimize your store, please don't hesitate to reach out. I'm committed to providing you with my full support and ensuring that you get the most out of our collaboration.

Get in Touch: You can contact me directly at softkarts@gmail.com for any questions or concerns
AI_CR7
Tourist
38 0 2

I can send you the coding of a specific page, but dont want to share url and passcode on open platform

 

AI_CR7
Tourist
38 0 2

Please let me know

DeepVyas
Shopify Partner
783 10 8

Goto search "Sold out" text in Online store > Themes > Edit default theme content. But remember it will be applied to both product an product card page. 

 

Else goto your Online store > Themes > Edit code > open card-product.liquid, go to line 128, replace this line of code 

{{- 'products.product.sold_out' | t -}}

 

Shopify Developer | Ⓢ : deepvyas71 | ✉ : deepvyas71@gmail.com
AI_CR7
Tourist
38 0 2

That line isnt on my coding?

 

AI_CR7
Tourist
38 0 2

Anyone else who can assist?