Hi,
Is there any way to put a conditional call a for metafield into an email subject line?
For instance, if a customer paid with a PO number, I would want to make the subject:
{%- if order.metafields.custom.customer_po !=blank %} A shipment from your {{ order.metafields.custom.customer_po }} is on the way {% else %} A shipment from order {{ name }} is on the way {% endif %}
So, if there’s something in the field, it would show one subject message, if it’s blank, it show the standard message.
Thanks,
Pete