Cart

Line Item Properties

Outputs custom properties added at add-to-cart (engraving, gift message, etc.).

Copy or embed this snippet

{% for item in cart.items %}
  {% unless item.properties == empty %}
    <ul>
      {% for property in item.properties %}
        <li>{{ property.first }}: {{ property.last }}</li>
      {% endfor %}
    </ul>
  {% endunless %}
{% endfor %}

Embed this snippet on your blog or docs — attribution link appreciated: HTMLToLiquid Converter · Convert to Shopify section →

Generate Shopify sections

Free AI-powered converter — OS 2.0 compatible output with schema validation.

Start converting HTML