adller99 Posted September 29, 2015 Share Posted September 29, 2015 Hi I'm trying to modify the order method so I can store some additional data but I can't seem to find a method which manipules with 'orders' table. Can anybody point me to the right direction? So I'm interested in knowing where the method is or how to accomplish this. Thanks, Adam Link to comment Share on other sites More sharing options...
musicmaster Posted September 29, 2015 Share Posted September 29, 2015 You will need to start with some modification to the order database table. Next stop the the order class. After that come the controller classes. Link to comment Share on other sites More sharing options...
adller99 Posted September 29, 2015 Author Share Posted September 29, 2015 You will need to start with some modification to the order database table. Next stop the the order class. After that come the controller classes. Thanks. Could you be more specific? I couldn't find anything call Order in class files just PaymentModule.php is that it? OrderConroller exists. Link to comment Share on other sites More sharing options...
adller99 Posted September 29, 2015 Author Share Posted September 29, 2015 You will need to start with some modification to the order database table. Next stop the the order class. After that come the controller classes. so the Order class handles storing in the database? and OrderController handles getting the right values, etc. and sending them to the OrderClass? Link to comment Share on other sites More sharing options...
musicmaster Posted September 30, 2015 Share Posted September 30, 2015 Well, actually the Order class is an extension of the ObjectModel class and that class outsources the dirty work to the Db class. Modern software engineering sometimes has a bit of a learning curve... But mostly your evaluation is right. 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