Order Status
{% comment %} Check if the customer has a different preferred language and redirect to the order status page with the correct locale selected {% endcomment %} {% unless first_time_accessed %} {% assign languageCode = request.locale.iso_code %} {% assign customerTags = customer.tags %} {% if languageCode == "en" or languageCode == nil %} {% for tag in customerTags %} {% if tag contains "language:" %} {% assign languageCode = tag | remove: "language:" %} {% break %} {% endif %} {% endfor %} {% endif %} {% if languageCode != "en" %} {% endif %} {% endunless %}