Display option selections in shipping confirmation emails

Follow the steps below to display option selections in shipping confirmation emails.

1. Starting from your Shopify admin dashboard, navigate to the Settings menu link, then click on Notifications.

2. Click on the link for the Shipping Confirmation email.

3. Scroll down close to the bottom of the page until you see this section of code.

4. Copy and paste the following code snippet in the specified location.

{% for p in line.line_item.properties %}
  {% if p.first contains '_io_' %}
    {% continue %}
  {% endif %}
  {% if p.last %}
    {% assign name = p.first %}
    {% assign value = p.last %}
  {% else %}
    {% assign name = p.name %}
    {% assign value = p.value %}
  {% endif %}
  {% unless value == blank %}
    <p style='margin-top: 0px; margin-bottom: 0px; font-size: 14px; color: #999;'>
      {{ name }}:
    {% if p.last contains '//uploadery.s3' %}
      <a style='font-size: 14px;' href="{{ value }}">Link to your file</a>
    {% else %}
      {{ value }}
    {% endif %}
    </p>
  {% endunless %}
{% endfor %}

5. Save your changes.

Still need help? Contact Us Contact Us