How can I effectively customize an order-edited email template?

How can I effectively customize an order-edited email template?

dungnq
Visitor
1 0 0

I try to customize the order-edited email template but I got confused.

1.  `line.quantity < line.quantity` is it true?

 

 

{% if line.quantity < line.quantity %}
  {% capture line_display %}
    {{ line.quantity }} of {{ line.quantity }}
  {% endcapture %}
{% else %}
  {% capture line_display %}
    {{ line.quantity }}
  {% endcapture %}
{% endif %}

 

2. What is the value of the `delivery_method` variable?

{% if delivery_method == 'pick-up' %}

I read this document https://help.shopify.com/en/manual/orders/notifications/email-variables and there is no `delivery_method` variable.

 

 

Reply 1 (1)

ilameda
Visitor
1 0 0

Hi @dungnq. Did you find an answer for your first question?

 

I'm also wondering when line.quantity < line.quantity will be true. This seems odd to me since is a comparison of the same value