chrissu
Forum Replies Created
-
I am using a country that is not included with the plugin.
I first added it to the functions.php as explained in the documentation, but when the cities did not display, I removed the code from functions.php and instead added the cities as a separate file into the plugin’s cities directory with the relevant country code.
The result was the same, country, state and cities work in my account, but cities do not work in checkout.
I have tried a different country, Egypt, which is included in the plugin, but the result is exactly the same. All works as expected in my account, but cities do not appear as a list in checkout.
I suppose the next logical step is to do a fresh wordpress and woocommerce install and then implement this plugin only and observe the results.
I’m using WordPress 6.4.2 and WooCommerce 8.3.1
In the WooCommerce MyAccount section, the addresses behave exactly as expected. State/County are available as list selections and Town/City field is also a list selection that gets populated based on the State selection.
However, in the address fields at checkout, only the State/County is available as a list selection. The Town/City field remains as a freeform text input field.
It doesn’t seem to be a plugin conflict problem.
I have reverted to the twenty twenty-four theme and disabled all plugins except WooCommerce and WC City Select and the behaviour is exactly the same.
I also don’t see any php errors being logged.