Skip to main content
Orders and print files

Show personalization on packing slips and order emails

Add the customer's answers to your packing slips and staff notifications.

Last updated 28 days ago

Customei saves the customer's answers on the order, but keeps them hidden from the cart, checkout and customer emails. Shopify's default templates skip hidden details like these, so they don't appear on packing slips or order notifications until you add them.

The answers sit on the product's own line, or, on most Shopify plans, on the Part of group that holds the product and its Personalization item (see Find a customer's personalization on an order). The snippet below reads both, so it works whichever way your store is charged.

Add them to your packing slip

  1. In your Shopify admin, go to Settings > Shipping and delivery > Packing slips and click Edit on the template.

  2. Find the loop that prints each item. It usually starts with {% for line_item in line_items_in_shipment %}.

  3. Inside it, below the product title, paste:

{% for property in line_item.properties %}
  {% unless property.first contains '_customei' or property.last == blank %}
    <p>{{ property.first | remove_first: '_' }}: {{ property.last }}</p>
  {% endunless %}
{% endfor %}
{% for group in line_item.groups %}
  {% for property in group.properties %}
    {% unless property.first contains '_customei' or property.last == blank %}
      <p>{{ property.first | remove_first: '_' }}: {{ property.last }}</p>
    {% endunless %}
  {% endfor %}
{% endfor %}
  1. Click Save, then Preview with a personalized order to check it.

On grouped orders the Personalization item may also appear on the packing slip as its own row. It has nothing to pack, so you can ignore it.

Add them to a staff order notification

Go to Settings > Notifications, open the notification (for example New order under staff notifications) and click Edit code. Paste the same snippet inside the loop that prints each item. In notifications that loop usually names the item line instead of line_item, so change both line_item.properties and line_item.groups to line.properties and line.groups to match.

Tip: keep the customer-facing Order confirmation email as it is unless you want customers to see every detail listed back to them. If you're not comfortable editing templates, contact support and we'll help.