Hello,
I would like to add a City Selector dropdown. How is it possible to achieve this through code? Just to highlight, I’m a shopify plus user.
Hello,
I would like to add a City Selector dropdown. How is it possible to achieve this through code? Just to highlight, I’m a shopify plus user.
You can request to edit the checkout template file from Shopify plus support; then, you can add a country dropdown box. Actually, we need more info on where you want to add and how this data will be used.
Currently, there is option to get the country and province as dropdown in the address field
the user wants to add option for city also to come as dropdown on select of the province ?
the changes has to be implemented in account address page and checkout address
on change of the province, an api request has to be sent to get the cities of the country and province
according to this request the dropdown has to be populated
there are some free and paid services to get the city list
the current city field should be made as hidden
add new dropdown field with different name e.g. dropcity
on change of this dropdown, the hidden field value will get change
you have to do these using javascript codes