All things Shopify and commerce
I'm using the "Option Calculator" app for product customization, and I would like to display the selected variants in email templates as well.
However, the Order Confirmation template is not working as expected, unlike the Shipping Confirmation template. The selected variants are not showing in the Order Confirmation email
On the other hand, the Shipping Confirmation template displays the selected variants correctly
Could you please help me resolve this issue?
{% for p in line_item.properties %}
{% assign hidden_property = p.first | first | replace: '_', true %}
{% unless p.last == blank %}
{% if hidden_property == 'true' %}
{% else %}
<span class="order-list__item-property">
{{ p.first }}:
{% if p.last contains '/uploads/' or p.last contains '/assets/' or p.last contains '/products/' %}
<img style="width:50px;height:auto" src="{{ p.last }}"/>
{% else %}
{{ p.last | newline_to_br }}
{% endif %}
</span><br/>
{% endif %}
{% endunless %}
{% endfor %}
Solved! Go to the solution
This is an accepted solution.
Hi @PrsMai , can you give store access so that I can analyze where the problem is and fix it for you really quickly?
thanks
This is an accepted solution.
Hi @PrsMai , can you give store access so that I can analyze where the problem is and fix it for you really quickly?
thanks
He's Great, Fixed my issues.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025