Our main goal is to send a specific piece of text in the order confirmation email based on line.properties
This example below will send a picture of user summited artwork, if it has been uploaded.
{% for line in subtotal_line_items %}
//order summary table
// my inserted code
{% for property in line.properties %}
{% if property.first contains "_pitchprint" %}
{% endif %}
{% endfor %}
We offer a way. to email artwork later, so we would like to figure a way to add an else statement or a not statement such as “does not contain” in conjunction with the current one to provide a secondary response inside paragraph tags.
What would be the correct syntax for the logic needed?
all related orders generates this string after the sku
_pitchprint: artwork-efd918d42056965e0f9ef12690a9b705
however only “_pitchprint” can be used to yield a valid response with the conditional code.
any help is greatly appreciated.