Hello! Anyone knows why my SMS notification is not going out correctly? What went wrong with the conditional logic? Customers that chose self-collection still end up getting the last snippet of the code (text in orange) which tells them that their order has been shipped out via third-party courier.
Here’s the SMS liquid:
{% if shipping_method.title == ‘Pickup at 12 Lorong Bakar Batu’ %}
Your order is ready for collection.
If you have opted for collection at The Elly Store at #02-31 Cluny Court, our opening hours are from 10 a.m. to 7 p.m. on Mon to Sat and 10 a.m. to 6 p.m. on Sun.
If you have opted for collection at The Elly Office, our address is at 12 Lorong Bakar Batu #04-11, Singapore 348745. Collection hours are from Wed to Fri between 10 to 12 p.m. and 2 to 5 p.m. (closed on Public Holidays).
{% elsif shipping_method.title == ‘Pickup at Cluny Court’ %}
Your order is ready for collection.
If you have opted for collection at The Elly Store at #02-31 Cluny Court, our opening hours are from 10 a.m. to 7 p.m. on Mon to Sat and 10 a.m. to 6 p.m. on Sun.
If you have opted for collection at The Elly Office, our address is at 12 Lorong Bakar Batu #04-11, Singapore 348745. Collection hours are from Wed to Fri between 10 to 12 p.m. and 2 to 5 p.m. (closed on Public Holidays).
{% else %}
Your order from {{ shop.name }} has been picked up by our courier. If you have selected standard courier, you will receive it over the next 1 to 3 working days. If you have selected express courier, you will receive it by 9 p.m. today.
Your tracking number is: {{ fulfillment.tracking_number }}
You can track your order using
this link .
{% endif %}