My customers get a link to download their invoices with their shipping notification, so there is a download link in the liquid template of the notification.
For customers from Switzerland I don’t want to show the download link, as they get their invoice from a company that handles shipping and customs for the import.
I thought it could be done by a query in the liquid to get the country from the billing address, but I don’t get the correct syntax.
Something like:
{% if billing.address.country_code != “CH” %}
(download link)
{% endif}
Would this work? Or how can I ask the query only for the country of the billing address?
Thanks for your help!