malo6 Posted September 13, 2023 Share Posted September 13, 2023 Hello, I have created my own module that displays an additional field in the last step on checkout page. I want to validate it when the user press the order button, if the field is empty, I want to return an error. I've tried hookActionValidateOrder But it looks like its called too late. Any suggestions how to resolve my problem? Link to comment Share on other sites More sharing options...
ps8modules.com Posted September 14, 2023 Share Posted September 14, 2023 Hi, set Custom Field as required. Link to comment Share on other sites More sharing options...
malo6 Posted September 14, 2023 Author Share Posted September 14, 2023 This field is required. Is there any hook to prevent placing an order if the field is empty? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now