country validation issue when adding new address

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
customer portal --> login  --> Click on  My Account --> Click Addresses --> add new address --> here without giving country or without selecting any country, address is saved. but country field have mandatory asterisk mark then also address is saved. validation is not fire for country when click on save button.
1 year ago
HI
you just need to enable these things from setting

https://yourstore.com/Admin/Setting/CustomerUser

https://prnt.sc/BqE0D__6conp

there is an address validator in the validator
please review this https://prnt.sc/SBP_2UzUUiBy
1 year ago
Thanks for replay sir, but in settings we have only enable country not required country, any
suggession to make country mandatory..
Thanks
1 year ago
HI
I enabled these things like country and state/province enabled both ,but it is nit showing the validation like(country is required exactly like while we registering in that form we can see the country validation is firing if we enabled it in customerformfields of settings),likely i do the same thing in addressformfields i enabled that country and state/province .
Can u please check this once i have get rid of these once.
ThankYou.
1 year ago
What nopCommerce version?
1 year ago
nopcommerce 4.6 version
1 year ago
This bug has been fixed in 4.60.2. Please see this issue for details.
1 year ago
Thanks for replay sir,  we are using same version nopcommerce 4.60.2 , in this version only issue is getting , My account --> Addresses -->Click on add new button  --> here country field have mandatory asterisk mark but without selecting country address is saving , validation is not fire..
I repeat sir, in NopCommerce version 4.60.2
1 year ago
here you can see nopcommerce version https://prnt.sc/X0JM0NM3NFqc
1 year ago
Hello Maksim Romanov, please check and let us know . or any validation code for  adding in file of nopcommerce
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.