I need to hide the “SOLD OUT” label on my store. How can I do that?
The label ‘SOLD OUT’ depends on your inventory settings.
By default if inventory equals 0, product marked as sold out.
To fix it you can change inventory for product variants settings in admin panel:
@Zarzar if you are using Dawn and you just want it removed without selling when out of stock, do the following. Open product-card.lqiuid in the editor and look for “{%- if product_card_product.available == false -%}” (should be at bottom). It should look like this:
{%- if product_card_product.available == false -%}
{{ 'products.product.sold_out' | t }}
{%- elsif product_card_product.compare_at_price > product_card_product.price and product_card_product.available -%}
{{ 'products.product.on_sale' | t }}
{%- endif -%}
Replace that with this:
{%- if product_card_product.compare_at_price > product_card_product.price and product_card_product.available -%}
{{ 'products.product.on_sale' | t }}
{%- endif -%}