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 年間の 前
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 年間の 前
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 年間の 前
Thanks for replay sir, but in settings we have only enable country not required country, any
suggession to make country mandatory..
Thanks
1 年間の 前
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 年間の 前
What nopCommerce version?
1 年間の 前
nopcommerce 4.6 version
1 年間の 前
This bug has been fixed in 4.60.2. Please see this issue for details.
1 年間の 前
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 年間の 前
here you can see nopcommerce version https://prnt.sc/X0JM0NM3NFqc
1 年間の 前
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.