Order confirmation Email-template - variants

Solved

Order confirmation Email-template - variants

PrsMai
Shopify Partner
2 0 0

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

 

https://prnt.sc/C67vxejIZutj

 

On the other hand, the Shipping Confirmation template displays the selected variants correctly

https://prnt.sc/5GGuJfPo96L2

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 %}

 

 



 

Accepted Solution (1)

abdulmoeed37
Shopify Partner
120 12 13

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

Helping shopify store owners.
Schedule free meeting for shopify store related problems:
If you need assistance with your store, feel free to contact me at abdulmoeed37@gmail.com
If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 2 (2)

abdulmoeed37
Shopify Partner
120 12 13

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

Helping shopify store owners.
Schedule free meeting for shopify store related problems:
If you need assistance with your store, feel free to contact me at abdulmoeed37@gmail.com
If my assistance was helpful, please consider liking and accepting the solution. Thank you!
PrsMai
Shopify Partner
2 0 0

He's Great, Fixed my issues.