Skip to main content
All CollectionsAdvanced
Email notifications
Email notifications

Add Zapiet - Product Options information to your Shopify email notifications

Jelizaveta avatar
Written by Jelizaveta
Updated over 4 months ago

Shopify notifications don’t include our app's details by default. You can update Shopify notifications to include these details:


Order confirmation email template

Customers will receive this email from your store (through Shopify) when they place an order.

You can update your order confirmation email with Zapiet - Product Options details.

  1. In your Shopify admin click Settings.

  2. Click Notifications.

  3. Click Customer notifications.

  4. Click Order confirmation.

  5. Click Edit code.

  6. Search for {% if line.selling_plan_allocation %} in Email body (HTML).

  7. Append this code snippet to the end of the if statement.

    {%- for prop in line.properties -%}
    {%- if prop.first != '_AdditionalCost' or (prop.first == '_AdditionalCost' and prop.last != '') -%}
    <div>
    <span>{{ prop.first }}: </span>
    <span>{{ prop.last }}</span>
    </div>
    {%- endif -%}
    {%- endfor -%}

  8. If you're using Zapiet - Product Options together with Zapiet - Pickup + Delivery, instead append this code snippet to the end of the if statement.

    {%- for prop in line.properties -%}
    {%- if prop.first != '_ZapietId' and (prop.first != '_AdditionalCost' or (prop.first == '_AdditionalCost' and prop.last != '')) -%}
    <div>
    <span>{{ prop.first }}: </span>
    <span>{{ prop.last }}</span>
    </div>
    {%- endif -%}
    {%- endfor -%}

  9. Click Save.

To see how the templates look, please create a test order. Our attributes cannot show in a preview because no options are selected.

Your order confirmation emails should now look similar to the image below.


New order email template

The store owner will receive this notification from Shopify when a customer places an order.

Shopify sends this notification to all the recipients listed within Shopify to notify them of all orders for all locations. Read more about this notification in Shopify New order notifications article.

You can update your new order email with Zapiet - Product Options details.

  1. In your Shopify admin, click Settings.

  2. Click Notifications.

  3. Click Staff notifications.

  4. Click New order.

  5. Search for {% if line.selling_plan_allocation != nil %} in Email body (HTML).

  6. Append this code snippet to the end of the if statement.

    {%- for prop in line.properties -%}
    {%- if prop.first != '_AdditionalCost' or (prop.first == '_AdditionalCost' and prop.last != '') -%}
    <div>
    <span>{{ prop.first }}: </span>
    <span>{{ prop.last }}</span>
    </div>
    {%- endif -%}
    {%- endfor -%}

  7. If you're using Zapiet - Product Options together with Zapiet - Pickup + Delivery, instead append this code snippet to the end of the if statement.

    {% endif %}
    {%- for prop in line.properties -%}
    {%- if prop.first != '_ZapietId' and (prop.first != '_AdditionalCost' or (prop.first == '_AdditionalCost' and prop.last != '')) -%}
    <div>
    <span>{{ prop.first }}: </span>
    <span>{{ prop.last }}</span>
    </div>
    {%- endif -%}
    {%- endfor -%}

  8. Click Save.

To see how the templates look, please create a test order. Our attributes cannot show in a preview because no options are selected.

Your new order emails should now look similar to the image below.

Did this answer your question?