Shopify Country Selector
{% form 'localization' %}
2
<select name="country_code">
3
{% for country in localization.available_countries %}
4
<option value="{{ country.currency.iso_code }}"
5
{%- if country == localization.country %} selected="selected"{% endif %}
6
>
7
{{ country.name }} ({{ country.currency.iso_code }}) - {{ country.currency.symbol }}
8
</option>
9
{% endfor %}
10
</select>
11
12
<input type="submit" value="Update">
13 {% endform %}
Poor Porpoise