Not as straightforward as it seems this one...
In our fully up to date, paid business licence release of XC5.3.3.3 (in our Dev Store location) there is NO reference at all to
autocomplete_states_for_countries in
etc/congfig.php. Nothing. Not a single reference or line of text
However.... We've taken a copy of a stock
etc/congfig.php file direct from X-Cart (via a download) and we CAN see that the existing reference IS in this, the current stock
etc/congfig.php file. No idea why that's missing from our own file, because we haven't removed it (why would we?)***
What's inconsistent, is that any other country that we have added ourselves previously (some of the default XC5 countries are just plain wrong and all this needed "tidying up"...) yes.. they ALREADY work perfectly and display
Select One by default PLUS the USA also works this way by default as we've already mentioned...BUT...all of these work perfectly WITHOUT the
autocomplete_states_for_countries line needing to be added in
etc/congfig.php The UK conspiracy theorists will be having a feel day...
***Is this because as an early adopter, the
etc/congfig.php file that we have running is technically much older than the current X-Cart stock file? If so... how has that been missed in all the subsequent upgrades?
[EDIT] We've added some questions to the bug ticket, in order to query some of these items ^^
[EDIT 2] See this post for reference:
https://forum.x-cart.com/showpost.php?p=404917&postcount=21