learnshopify.dev/Workspace
code writing

1) Wrap the existing `<select name="country_code">` in `{% form 'localization' %}` ... `{% endform %}`. 2) Inside the select, loop `{% for country in localization.available_countries %}` and render each `<option value="{{ country.iso_code }}">` with text `{{ country.name }} ({{ country.currency.iso_code }} {{ country.currency.symbol }})`, so options read like `Canada (CAD $)`. 3) Mark the active country: inside the option tag, after the value, add `{% if country.iso_code == localization.country.iso_code %}selected{% endif %}`.

0 / 2 tasks solved
northwind-coffee.com
Live Storefront