Hi there,
We have tried to edit the code of the order confirmation sent to include unqiue text by product tag. In essence we need to ensure customers are aware that the goods will not be delivered to their home address but will be collection from a venue. There are two products that this applies to. I have added the code following previous instructions but the text does not appear at all. Can anyone help please? (code below for reference):
{% capture email_title %}Thank you for your purchase! {% endcapture %}
{% capture email_body %}
{% if requires_shipping %}
{% case delivery_method %}
{% when ‘pick-up’ %}
You’ll receive an email when your order is ready for pickup.
{% when ‘local’ %}
Hi {{ customer.first_name }}, we’re getting your order ready for delivery.
{% else %}
Hi {{ customer.first_name }}, we have received your order.
{% for line in line_items %}
{% for tag in product.tags %}
{% if tag contains ‘UCLphoto’ %}
UNIQUE TEXT HERE
{% else %}
{% if tag contains ‘UCLphotofull’ %}
OTHER UNIQUE TEXT HERE
{% endif %}
{% else %}
If gown hire is required for a certain date and you have not informed us, please email immediately so we can do our best to meet your requirements.
Please note we are operating Monday - Thursday, therefore any orders placed Thursday - Sunday will not be dispatched until the Monday. Please allow at least 1 working day for deliveries. We will notify you when your order has been dispatched.
{% endif %}
{% endfor %}
{% if delivery_instructions != blank %}
Delivery information: {{ delivery_instructions }}
{% endif %}
{% endif %}
{% endcapture %}