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.
In your Shopify admin click Settings.
Click Notifications.
Click Customer notifications.
Click Order confirmation.
Click Edit code.
Search for
{% if line.selling_plan_allocation %}
in Email body (HTML).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 -%}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 -%}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.
In your Shopify admin, click Settings.
Click Notifications.
Click Staff notifications.
Click New order.
Search for
{% if line.selling_plan_allocation != nil %}
in Email body (HTML).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 -%}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 -%}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.