Commerce: Is there a way to use a countries dropdown with iso codes (US, CH etc) instead of ids? Here's some code from Craft Commerce's examples:

&lt;form method="POST" accept-charset="UTF-8" class="ui form validate"&gt;
    {{ getCsrfInput() }}
    &lt;input type="hidden" name="action" value="commerce/cart/updateCart" /&gt;

    [...]

    {% set countries = craft.commerce.countries %}
    {% if countries|length &gt; 1 %}
        &lt;div class="field{% if model and model.getErrors('countryId') %} error{% endif %}"&gt;
            &lt;label&gt;{{ "Country"|t }}&lt;/label&gt;
            &lt;select name="{{ modelName }}[countryId]" class="ui fluid dropdown"&gt;
                &lt;option value=""&gt;{{ "Choose Country"|t }}&lt;/option&gt;
                {% for country in countries %}
                    {% set optionValue = (model ? model.countryId : '') %}
                    &lt;option value="{{ country.id }}"{% if country.id == optionValue %} selected="selected"{% endif %}&gt;{{ country.name }}&lt;/option&gt;
                    &lt;div class="item" data-value=""&gt;{{ country.name }}&lt;/div&gt;
                {% endfor %}
            &lt;/select&gt;
            {% if model and model.getErrors('countryId') %}
                &lt;span class="error"&gt;{{ model.getErrors('countryId')|join }}&lt;/span&gt;
            {% endif %}
        &lt;/div&gt;
    {% endif %}

    [...]

&lt;/form&gt;


I wonder if it's somehow possible to work with the country code (e.g. US, CH...) instead of the country id of Craft Commerce (1..256). So basically, countryId vs. countryIso? 

I can't find any information in the docs. 

It might be a small detail, but when using form autofill with programs like 1password, it won't be able to fill in the country automatically when using an id vs. a country code.
This should do it:

{% set countries = craft.commerce.countries %}

&lt;ul&gt;
{% for country in countries %}
    &lt;li&gt;{{ country.iso }}&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;