Shopify Get Meta Fields Liquid Code

PHOTO EMBED

Mon Aug 22 2022 14:50:05 GMT+0000 (Coordinated Universal Time)

Saved by @mickeldav #shopify

{%- if product.metafields.instructions != blank -%}
  <ul>
    {%- for field in product.metafields.instructions -%}
      <li>{{ field | first }}: {{ field | last }}</li>
    {%- endfor -%}
  </ul>
{%- endif -%}
content_copyCOPY