truetaurus Posted June 17, 2018 Share Posted June 17, 2018 Hi, from what I can tell the table ps_orders is where orders are added when made. So I added a new column called "code" to the end of it. Now when a new order is created, I would like to add a value to that column. Could someone help me point out where to add this? Where is an order actually created? Link to comment Share on other sites More sharing options...
Alexey Tseluiko Posted June 22, 2018 Share Posted June 22, 2018 (edited) maybe this tutorial may helps you: http://nemops.com/extending-prestashop-objects/#.Wyt7LlUzaUk and this one (just for information where is orders controlled): https://www.prestashop.com/forums/topic/382892-overriding-order-class-new-field-doesnt-save/ Edited June 22, 2018 by Alexey Tseluiko (see edit history) 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