All things Shopify and commerce
Hello I have a website, my currently estimated times are : Available, Available in 20 days and unavailable. The only way to know which one is available after some days is to create a tag.
The code I am using in my product-template.liquid :
{% if product.selected_or_first_available_variant.inventory_management == "shopify" %}
{% if product.selected_or_first_available_variant.inventory_quantity > 0 %}
🟢 Available between 1 - 3 days.
{% elsif product.tags contains "availability:Available between 15 - 30 days"}
🟠 Available between 15 - 30 days.
{% else %}
🔴 Unviable.
{% endif %}
{% else %}
🟢 Available between 1 - 3 days.
{% endif %}
I can't make it work is there any way?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025