We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.
Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.
The country_option_tags object
This page was printed on Sep 21, 2019. For the current version, visit https://help.shopify.com/en/themes/liquid/objects/country-option-tags.
The country_option_tags object creates an <option> tag for each country that is included as a shipping zone on the Shipping page of the admin.
An attribute called data-provinces is set for each <option>, and contains a JSON-encoded array of the country's subregions. If a country doesn't have any subregions, then an empty array is set for its data-provinces attribute.