adller99 Posted September 25, 2015 Share Posted September 25, 2015 Hi I'm totally new to PrestaShop. I was given a task with very limited time frame. I installed PrestaShop read some files but I couldn't figure this out. I need to add one field in order proccess (probably step 4), modify the class which is controlling this process and add validation for that field. If im not mistaken I'll need to do following: - add input field into the mark-up (how do I distinguish step 4 from for example step 2) - find which PHP file and method controll the validation - which Ajax call sends data to PHP (mentioned above) The field should accept a special code (sale code for example). Many many thanks to everyone who's gonna be willing to help me out with this. Link to comment Share on other sites More sharing options...
cristic Posted September 25, 2015 Share Posted September 25, 2015 Check this link how you can add a field in the checkout process: http://blog.prestagear.com/custom-field-in-checkout-form/ This is to have a basic overview. You will have to add your own custom field type, additional validations and display it in BO. 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