Hello there. I’m looking for to display the State (state in a geographical sense) of the customer (in a customer address section). I have tried many options like order.addresses.countryState but it doesn’t work. Could anyone please share which variable can be used for that purpose?
thanks.
I have found the solution. Within the email template I have used this code:
{% set delivery = order.deliveries.first %}
{% if delivery %}
{{ delivery.shippingOrderAddress.countryState.translated.name }}
{% endif %}
the variable is CountryState but I must put the translated name.