Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
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
In Canada, payment processors, like those that provide payment processing services t...
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