I have this code:
Ready to ship starting {% for variant in product.variants %}
{% if variant == product.selected_or_first_available_variant %}
{{variant.metafields.my_fields.ethnicraft_date.value | date: “%a, %b %d, %Y” }}.
{% endif %}
{% endfor %} Please note this date can change based on Workshop Partner delays.
in a custom liquid file in Shopify 2.0 product template.
It is displaying: “Ready to ship starting Mon, May 23, 2022. Please note this date can change based on Workshop Partner delays.”
I just can’t figure out how to get it to change with the variant since each variant has a different date.
Best,
Maria O