i want to override checkout flow and add custom field in table based on user who checkout :

suppose customer with id 10 completed checkout , i want to do entry in table with customer id and same custom value .

where have i to write code ??.. which magento event should i override in my custom module


You can use checkout_submit_all_after.
It is dispatched when the quote is transformed to an order and your receive as parameters the quote, the order and the recurring profiles (if any).

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.