I want to change error messages in Shipping address form to more descriptive on onepage checkout page. For example, I want to change This field is required to First Name is required.

I am not able to find where these fields are being added in the code. I do see <!-- ko foreach: getRegion('additional-fieldsets') in form.html but cant find First and last name in additional-fieldsets in layout.xml files.

I also created a Model/Layoutprocessor.php in a module but and I am able to override label but not the error messages.

Your Answer

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

Browse other questions tagged or ask your own question.