Skip to main content
Many stores collect extra details from customers: a delivery date or gift message at checkout (order attributes, also called cart attributes or note attributes), or an engraving text or monogram on the product page (line item properties). Shopify keeps them with the order, and your templates can print them.

Order attributes

attributes holds the order’s custom fields, each a name and a value. Print all of them:
Print one by its name, exactly as it’s spelled in the order:

Line item properties

Each line item’s properties hold the custom fields for that item. Print them inside the line items loop:
property.first is the field’s name and property.last its value. Properties whose name starts with an underscore (such as _bundle_id) are meant to stay hidden. To leave them out:

In the visual editor

  • Items table: tick Line item properties (engraving, gift note…) under Rows to print each item’s properties under its title. Properties whose name starts with an underscore, and empty ones, are left out.
  • Order attributes: use a Custom Liquid block with the loop above.

Good to know

  • Always add | escape to what customers typed, so their text prints as text.
  • Order attribute names are case sensitive: attributes['gift message'] and attributes['Gift message'] are different.
  • Data stored in metafields rather than attributes is printed differently. See Metafields in templates.
  • Choices made with Bold Product Options or Infinite Options are line item properties too; their priced add-ons can print under the item. See Product options apps.