nephi_ Posted June 20, 2013 Share Posted June 20, 2013 Hi, can you help me out? Do you know in what file the order creation query is? I need to do some modifications there. Please help. Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 what ps version you use? everything depends on it Link to comment Share on other sites More sharing options...
nephi_ Posted June 20, 2013 Author Share Posted June 20, 2013 (edited) I'm using ver 1.5.3.1 Edited June 20, 2013 by NephiDCGWS (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 open the classes/order/Order.php you've got there function add(); remember that everything here is based on "Object" model, which mean that order specification is defined in the public static $definition = array(); table Link to comment Share on other sites More sharing options...
nephi_ Posted June 20, 2013 Author Share Posted June 20, 2013 (edited) I already opened the file and tried to search the function add() but it wasn't defined or used in classes/order/Order.php Edited June 21, 2013 by NephiDCGWS (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 this is function add(): public function add($autodate = true, $null_values = true) { if (parent::add($autodate, $null_values)) return SpecificPrice::deleteByIdCart($this->id_cart); return false; } Link to comment Share on other sites More sharing options...
nephi_ Posted June 21, 2013 Author Share Posted June 21, 2013 Thank you Vekia.. I resolved my first problem now...Cheers 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