RicherYang / RY-WC-City-Select

Show a dropdown select as the cities input on WooCommerce.
https://tw.wordpress.org/plugins/ry-wc-city-select/
GNU General Public License v3.0
10 stars 3 forks source link

Invalid numeric literal #5

Closed condor2 closed 2 years ago

condor2 commented 2 years ago

If you use post code like this one 087005 plugin crash.

So this type of post codes should be added like this '087005'

You can add this info on Readme

RicherYang commented 2 years ago

thank report issuu. I had change the Example on Readme to use STRING type.

condor2 commented 2 years ago

Another problem is when update. The plugin should not delete files.

If you have files in cities on the next update all cities files will be deleted.

RicherYang commented 2 years ago

@condor2 This can't be fixed. Because thw WordPress core to update the plugin, is delete all the file in plugin dir and unzip new version to dir.

condor2 commented 2 years ago

OK.

Another small issue.

If you select a city who has postal code then you chose another with no postal code, the postal code field should be cleared and not to show postal code from prevision city