Country and province form field

Topic summary

Seeking documentation to display province/state fields for all countries in a Shopify form. Current setup uses a country select with the Liquid helper {{ all_country_option_tags }} and JavaScript to reveal the province field based on the selected country. Problem: provinces only appear for some countries, seemingly limited to those listed in Shopify’s Admin REST Province resource (linked). Request: guidance or documentation to support showing provinces for all countries, not just a subset. Explanation: “province” refers to administrative subdivisions; {{ all_country_option_tags }} outputs country options. Link to Shopify docs is central to the issue. Outcome: no solution or references provided yet; support chat redirected here. Status: open and unresolved.

Summarized with AI on February 7. AI used: gpt-5.

Hello,

Is there documentation related to counrty/province fields for a form.

I have already set a field for counrties with a select field and {{ all_country_option_tags }}, then show the province of selected country with js. The problem is that it does not shows the province of all countries just some of them.. basically the ones in this documentation https://shopify.dev/api/admin-rest/2022-07/resources/province.

I would like to know if there is any documentation related to show province for all countries? If so can you share? I asked via support chat but did not found anything and send me here.

Regards

1 Like