invalid address in shipping Step

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 4 años
hi
i use Nop 4.2 with multi language English/Arabic.
and when customer checkout and enter shipping address after that a small massage show over address box say "You have 1 invalid address(es) "
i don,t understand where is the wrong with address or is there is a method to write address information or how i can disable this massage show up ?
Hace 4 años
I've never seen that message before.  Are you using some 3rd party checkout plugin?
Hace 4 años
it seems when i wrote address in Arabic language this massage show up. i try enter address in English and it's fine.
Hace 4 años
sorry, I had a typo...  I see it is a built in locale string message:

  checkout.addresses.invalid  You have {0} invalid address(es)


Based on the source code, I see that it will validate all the customer's addresses for required fields.  Did you recently change required fields (e.g. make City required), and thus any addresses entered before the change could now be invalid?
Hace 4 años
thanks brother.

yes i change some fields. i delete county field. what the fields should i keep it in address form ?
Hace 4 años
esmhos wrote:
thanks brother.

yes i change some fields. i delete county field. what the fields should i keep it in address form ?

Really hard to tell what is actual reason without your custom code. Go to AddressService.IsAddressValid method and check for which property address can be invalid.

To disable/hide this message, edit in 'OpcBillingAddress.cshtml'.
Hace 4 años
I think you should try to create a new address, and see what all the requirements are.   Then go back to the customer whose addresses are not working, and update them.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.