c# - Nop Commerce 3.4 Address validation fails if the country has no state -


i working in project uses nopcommerce 3.40. facing problem validating address country has no state. example -

enter image description here

what require -

  1. for countries states , au state should required.
  2. for other countries state should optional.

is possible in nopcommerce? or missing something? possible without tweaking code?

thanks.

there way without touching code. need considerable time fix.

in admin,

  1. go configuration ==> countries
  2. then click edit.
  3. now select "state , province" tab.
  4. add state name similar "n/a" or "" blank.
  5. do step 1 4 countries except us, aus or applicable.

if can update code, can done easily. other hand if don't want use state @ all, can disabled admin too.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -