1

How to set require the field to a company in billing address in magento2?

2

1 Answer 1

0

You should as well add it in your attribute on the server side.

If you're using Magento Entreprise Edition, you can simply edit the company attribute through back end, and set it to "required".

If you're working with a Community Edition, you'll have to manually change this value with SQL. It's in eav_attribute table, the attribute_code is company and you just need to set is_required to 1.

2

Your Answer

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

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