2

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

enter image description here

3

2 Answers 2

6

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.

1
  • Hello, I did this but it only set state required in profile page but not in checkout page.
    – Stack user
    Commented Aug 8, 2019 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.

4
  • 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
    Commented Mar 29, 2017 at 8:50
  • @davideghz I have not Commented Mar 29, 2017 at 9:18
  • Are you on 2.1? I can't find the field you mentioned
    – davideghz
    Commented Mar 29, 2017 at 9:22
  • How to set checkout fields from customer configuration ?
    – Manish
    Commented Jul 2, 2018 at 4:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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