Quantcast
Channel: Opinion: Shopify Community - Shopify Apps
Viewing all articles
Browse latest Browse all 11091

Ryan | Add to Cart Apps commented on Edit Order App

$
0
0

Hey Guys,

Someone has just pointed out that {{note_attributes.delivery_instructions}} does not work as expected in custom email templates. This is a confirmed issue and will fix it ASAP in the meantime if you need to use these in custom email templates

For Cart Note Attributes

{% for notes in note_attributes %}
    {% if notes.name == "backorder_date" %}
        {{notes.value}}
    {% endif %}
{% endfor %}

For Line Item Custom Properties

{% for item in line_items %} // You should already have this loop in your template if so remove this line
    {% for notes in item.properties %}
        {% if notes.name == "backorder_date" %}
            {{notes.value}}
        {% endif %}
    {% endfor %}
{% endfor %} // You should already have this loop in your template if so remove this line


 


Viewing all articles
Browse latest Browse all 11091

Trending Articles