1

i want to checkout shipping adress, State/Province ("Region") be Required.

enter image description here

4

Go to Stores > Configuration > General and in State Options group mark all countries for which you wish to require State/Province in State is Required for field.

  • Hello, I did this but it only set state required in profile page but not in checkout page. – Stack user Aug 8 '19 at 12:18
-1

You can set it requried from admin panel. Go to customer configuration and set the preffered fields to required.

Else

you can also manually add a "required" class in your .phtml template file.

Please check it and let me know.

  • Same problem on Magento2.1 here; cannot find this field in Customer's config in Admin; what's the .phtml file you are referring to? – davideghz Mar 29 '17 at 8:50
  • @davideghz I have not – Mrunmay Deswandikar Mar 29 '17 at 9:18
  • Are you on 2.1? I can't find the field you mentioned – davideghz Mar 29 '17 at 9:22
  • How to set checkout fields from customer configuration ? – Manish Jul 2 '18 at 4:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.