New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unavailable edit address in FO #33991
Comments
Hello @metacreo , I can't reproduce your issue. Screen.Recording.2023-09-20.at.17.08.19.movCould you please send a screen record of your issue and the configuration of the concerned country ? Waiting for your feedback. |
@florine2623 now click edit on address who without states |
Hello @metacreo I couldn't either reproduce your issue when editing an address for a country without states! See attached screenrecord: address_edit.mp4Could you please check in your BO that you imported Stated for the chosen country ! See attached screenshot : Waiting for your Feed-back. Thank you! |
@aniszr not need change any row |
I'm am having the same problem on 3 different installs (PS version 8.1.1). This happens only in Google Chrome (desktop and mobile). Firefox, Edge and Opera are not showing the state dropdown when you edit an address for a Country without states from the My Account page. Also, if you edit the address from the checkout, the form is displayed correctly, the state dropdown is not displayed in Chrome. |
@Steven44223 I`m using Firefox only. Just now tried Chrome. Confirm, on chrome no State dropdown. |
Strange, I'm only having this problem in Chrome. |
Hello @metacreo @Steven44223 , You need to add states if you enable this option. We use GitHub issues only to discuss about bugs and new features in the PrestaShop project. If you have questions about using PrestaShop or third-party modules, or if you need help with your shop, please consider one of our support plans. Alternatively, you can also ask for help in the community forums or in the public Slack channel. Thank you |
@florine2623 No. We no need add some. This is a bug and is not related to states addition or some. |
@Steven44223 how do you like this ?? they just closed. without even understanding what's going on. (^^) |
Hello @florine2623 The problem is not about Adding addresses but Editing an existing address with a country that does not contain states. I checked the database and the BO and the option "Contain states" is not enabled for countries that do not have states. And if you edit an address when you Check Out it shows the correct form without the State field. The problem just occurs in the My Account section. So, editing an existing address should not contain the State field unless you select a country where states are enabled. It's also inconsistent between browsers. If you need more information let me know. |
Prerequisites
Describe the bug and add attachments
On editing address in FO, you always must enter state. Even on countries without states.
PrestaShop.Live.Demo.Mozilla.Firefox.Private.Browsing.2023-09-21.14-08-01_1.mp4
Expected behavior
Option State must be only for countries with states
Steps to reproduce
PrestaShop version(s) where the bug happened
8.1.1
PHP version(s) where the bug happened
8.2.10
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered: