zunxunz Posted August 12 Share Posted August 12 I need to add two fields, a 'reference number' and the name of a 'contact person' to the checkout process in the first step, but not on the login form. Those two fields need to be added to the cart table and the orders table. However: - I'm not supposed to use 'overrides', since Prestashop discourages that. - I don't want to change core code. - There aren't any hooks in the checkout process that can be used for this. How can I accomplish this? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted August 12 Share Posted August 12 Please can you specify PS version Link to comment Share on other sites More sharing options...
zunxunz Posted August 18 Author Share Posted August 18 On 8/12/2025 at 3:21 PM, Prestashop Addict said: Please can you specify PS version PS version 8.2.1. Link to comment Share on other sites More sharing options...
Mehdi Bourechka Posted August 22 Share Posted August 22 On 8/18/2025 at 12:28 PM, zunxunz said: PS version 8.2.1. There isn’t a built-in hook in PrestaShop 8.2.1 to add fields directly in the first checkout step. The clean way is to create a small custom module. With it, you can inject your two fields (reference number and contact person) into the checkout form using JS, then save their values in the database when the order is confirmed. This way you don’t touch the core or overrides, and the solution stays stable on updates. 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