Advanced Product OptionsUsing the app
How to display APO selected options in the Order Confirmation email
Overview
Section titled “Overview”By default, Shopify’s Order confirmation email template doesn’t display custom product options added via the Advanced Product Options (APO) app.
As a result, customers may see only the product title in their confirmation email, without any selected options — which can cause confusion.
This guide explains how to update your Shopify email template to correctly show APO-selected options and file uploads in the customer’s confirmation email.
🧭 Step-by-step guide
Section titled “🧭 Step-by-step guide”-
Open Settings
From your Shopify admin, go to Settings in the bottom-left corner. -
Go to Notifications
In the Settings menu, open the Notifications tab. -
Select “Customer notifications”
In the Notifications section, click Customer notifications. -
Open “Order confirmation”
Click Order confirmation from the list.
This is the email sent right after a customer completes their order. -
Click “Edit code”
Make sure you’re on the Email tab and click Edit code in the top-right corner.
This opens the HTML/Liquid editor for your email template. -
Find the variant title condition
Search in the template for the following line:{% if line.variant.title != 'Default Title' and is_parent == false %} -
Remove the highlighted block
Delete the entire block that begins with:{% if line.variant.title != 'Default Title' and is_parent == false %}and ends with:
{% endif %} -
Insert the new APO code block
Replace the removed section with the following code:{% unless line.variant.title contains 'Default Title' %}{% if line.variant.title contains '#MWS' %}{% assign newTitle = line.variant.title | split: "#MWS" %}<span class="order-list__item-variant">{{ newTitle.first }}</span><br/>{% else %}<span class="order-list__item-variant">{{ line.variant.title }}</span><br/>{% endif %}{% endunless %}✅ This code removes “Default Title” and ensures APO variant titles are displayed correctly.
-
Add the properties display block
Immediately after the snippet above, add this second code block:{% for p in line.properties %}{% assign property_first_char = p.first | slice: 0 %}{% if p.last == blank or property_first_char == '_' %}{% continue %}{% endif %}<span style="color:#000">{{ p.first }}:</span><span style="color:#000">{% if p.last contains 'mageworx.com/front/files/' %}<a class="lightbox" href="{{ p.last }}">{{ p.last }}</a>{% else %}{{ p.last }}{% endif %}</span><br />{% endfor %}✅ This code displays all selected APO options and file uploads in the order confirmation email.
-
Save the template
Click Save in the top-right corner to apply your changes.
✅ From now on, customers will see their selected APO options and uploaded files in the order confirmation email.
🧩 Additional notes
Section titled “🧩 Additional notes”- This change affects only email templates. The order data in the Shopify admin remains the same.
- If you use a custom theme or third-party email app, the steps may slightly differ.
- You can test your template by clicking Send test before saving.