Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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..
Solved! Go to the solution
This is an accepted solution.
Hey @Lajos
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
.card__badge.bottom.left {
display: none !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi,
In your theme code go to the 'card-product.liquid' and find this code:
<span
id="Badge-{{ section_id }}-{{ card_product.id }}"
class="badge badge--bottom-left color-{{ settings.sold_out_badge_color_scheme }}"
>
{{- 'products.product.sold_out' | t -}}
</span>
All you have to is create a simple template for that collection. Then you can create the following code:
{% if collection.template_suffix != 'your name'%}
<span
id="Badge-{{ section_id }}-{{ card_product.id }}"
class="badge badge--bottom-left color-{{ settings.sold_out_badge_color_scheme }}"
>
{{- 'products.product.sold_out' | t -}}
</span>
{% endif %}
This is an accepted solution.
Hey @Lajos
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
.card__badge.bottom.left {
display: none !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
A couple of things that are not super ideal about the solution you're proposing.
This way you're doomed to have issues in the future.
It works! Thank you very much...
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025