Overview #
When a customer places an order with Option Price Calculator using “No Variant Add to Cart Method”, their selections are saved with the order. By default, Shopify’s order confirmation email does not display these custom selections. You can update the email template so customers see exactly what they ordered — dimensions, materials, engraving text, or any other options they chose.
This involves a small edit to the order confirmation email template in Shopify Admin → Settings → Notifications.
Steps #
Step 1: Open the Order Confirmation Email Template #
- In your Shopify admin, go to Settings → Notifications.
- Under Customer notifications, find and select Order confirmation.
- Click Edit code to open the email template’s HTML editor.
Step 2: Add the Custom Options Code #
- Place your cursor in the Email body (HTML) editor.
- Use Ctrl + F (or Command + F on Mac) to open the search bar.
- Search for
{{ component.variant.title }}. You will find multiple matches. If you have not modified this template, you should add the code to LINE 2778. If you have modified the template before, we suggest adding this code to every occurrence you find. - Locate the closing
{% endif %}tag that follows the variant title line. - Paste the following code directly after that
{% endif %}tag:
<!-- OPC PROPERTIES -->
{% for property in component.properties %}
{% assign property_prefix = property.first | slice: 0, 9 %}
{% if property.last != blank and property_prefix != '_internal' %}
<span class="order-list__item-property">
• {{ property.first }}: {{ property.last }}
</span>
{% endif %}
{% endfor %}
<style>
td.order-list__image-cell {
display: flex;
}
span.order-list__item-property {
display: block;
height: max-content;
margin-top: 5px;
padding-left: 1.5em;
}
</style>
<!-- OPC END PROPERTIES -->
If there are no results for {{ component.variant.title }}, your email template likely differs from Shopify’s default version.
Step 3: Save Changes #
- Click Save to apply your changes.
- Wait approximately 30 seconds for the changes to take effect.
New order confirmation emails will now display the customer’s Option Price Calculator option selections alongside each line item.
Details #
The code displays each custom option as a labeled line (e.g., “Width: 48 inches”) beneath the product name in the email. Internal options used by Option Price Calculator for processing are automatically hidden — only the selections your customer made are shown.
If you have customized your order confirmation email template significantly, the search term from Step 2 may not appear. This means your template structure differs from Shopify’s default, and the code may need to be placed in a different location.