dhobo Posted January 23, 2012 Share Posted January 23, 2012 Hi, I'm working with prestashop version 1.4.6.2 and I want to modify the behavior for the inserts into the ps_order_detail table while creating an order. I want to be able to change the product prices that are being inserted. However, I can't find where this action happens. Does anyone of you know, which class/controller calls the action in the order process that inserts the data into this table? Link to comment Share on other sites More sharing options...
dhobo Posted January 23, 2012 Author Share Posted January 23, 2012 Can anyone help me? All I need to know is when the actual insert happens into the ps_order_detail table. Thanks a lot ! Link to comment Share on other sites More sharing options...
bellini13 Posted January 24, 2012 Share Posted January 24, 2012 check out the PaymentModule.php class. it has a function called validateOrder that creates the Order object itself. Link to comment Share on other sites More sharing options...
dhobo Posted January 31, 2012 Author Share Posted January 31, 2012 my apologies for the late reply; but thank u very much, this worked! 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