out of stock shopify code example
Example: disable out of stock products shopify
{% for product in collection.products %}
{% if product.available %}
{% include 'product-grid-item' %}
{% endif %}
{% endfor %}
{% for product in collection.products %}
{% if product.available %}
{% include 'product-grid-item' %}
{% endif %}
{% endfor %}