Skip to main content

How to set the addresses to the support?

You can define which email addresses should receive support notifications.

You can either:

  • Always send to the same address(es)
  • Send to different addresses depending on the order details

Send all notifications to fixed email addresses

This is the simplest option. With this setup, every support notification will always be delivered to the email addresses specified regardless of the order details.

Route support notifications based on order details

Example based on the language spoken in the country of the delivery

To do this, you will need to use the conditional language named Liquid :

{% if order.language_code == 'FR' %} support@my-shop.fr
{% elsif order\.language_code == 'UK' %} support@ymy-shop.uk
{% else %} support@my-shop.com {% endif %}

Good to know
  • The email address itself must not contain variables so for example,
    support-\{\{ order\.country_code }}@yourshop.com will not work

  • Always add a fallback with else to ensure that if no condition is met, notifications still will be still be sent to a default support email