tarek.fellah Posted May 13, 2014 Share Posted May 13, 2014 (edited) I would like to add dropdown option to let user select the store in which he can get his produt in the carrier selection page, i added a module for that, also i added a field in the order class, and the orders table, when i tried to save the order in ParentOrderController.php,it is the right place to do that? i get an error: Order->conversion_rate is empty this is my code$order = new Order((int)($this->id_order));$order->magasin = (string)Tools::getValue('listmagasins');$order->save();I tried to store the $order->magasin in a file to retrieve its content, and it gives me what i expect. The problem whith$order->save(); i think that this statement is used to store the order in the database specially the magasin variable.Thanks in advance. Edited May 14, 2014 by tarek.fellah (see edit history) Link to comment Share on other sites More sharing options...
tarek.fellah Posted May 14, 2014 Author Share Posted May 14, 2014 Up! 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