How To Display Custom Error Messages

To add a custom error message for any checkout field you can use a custom PHP snippet to filter the checkout fields and add your custom ‘data-parsley-error-message’ which will be shown when the field contains an error.

The following is an example for how to do this.