Changing criteria for Sold Out label

Nittiyarns
New Member
5 0 0

Hello!

 

I was wondering if someone would be able to help me. I want "Sold Out" to be replaced by "Coming Soon" if the product has the "Coming Soon" Tag, otherwise just be the standard sold out.

 

Currently I've changed the language of my theme "Avone Theme", to read Coming Soon for anything with 0 stock, but it's not quite right when I can't get stock of something at the moment.

 

Is this possible to do? My store is www.nitti.co.nz

0 Likes
LitExtension
Shopify Partner
641 66 119

Hi @Nittiyarns

You can try change your snippet to:

{% for tag in product.tags %}

  {% if tag contains 'your_tab' %}

    {% assign has_coming_soon = true %}

  {% endif %}

{% endfor %}

{% unless has_coming_soon == true %}

  <--Set your code at here -->

{% endunless %}

Remember: You need to change "your_tab" with the tag of that product contains the Coming Soon tag.

Hope this helps. If you can not do that, you can add me as a staff, I'll check it for you (my email: tuanthinhit@gmail.com)

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes
Nittiyarns
New Member
5 0 0
Thanks for your reply! I’m a bit of a newbie with this, where and which
snippet do I put this into?

Cheers
0 Likes
LuckyNigam
Excursionist
34 2 6

Hi @Nittiyarns 

This is not only done by the shopify code . Its also depend on your javascript code when you change the variants. So we need your file access to do that part you can also contact me on skype( cid.6072cc42f2bf365c ). 

 

Thanks

0 Likes