Was just looking at modifying some code we have that does this from the theme. In our product-form.liquid page we have the following…
{%- if product.selected_or_first_available_variant.inventory_quantity >5 -%}
{%- else -%}
{%- endif -%}
Was just looking at modifying some code we have that does this from the theme. In our product-form.liquid page we have the following…
{%- if product.selected_or_first_available_variant.inventory_quantity >5 -%}
{%- else -%}
{%- endif -%}