sbarrett Posted April 15, 2015 Share Posted April 15, 2015 Hello guys, I ask you to help to add a field in the admin page add a new order. I have to save the value of this field in the database. 1)I added the field in admin / themes / default / template / controllers / orders / form.tpl 2)i added field in database I know that I have to take the field in the override / controllers / admin / AdminOrdersController.php you help me? thanks Link to comment Share on other sites More sharing options...
mayank02 Posted December 28, 2015 Share Posted December 28, 2015 Hello guys, I ask you to help to add a field in the admin page add a new order. I have to save the value of this field in the database. 1)I added the field in admin / themes / default / template / controllers / orders / form.tpl 2)i added field in database I know that I have to take the field in the override / controllers / admin / AdminOrdersController.php you help me? thanks Hi, I am onto the same thing , added the field in form.tpl, added the field in DB as well, but not able to save the value in database. if u have achieved or resolved your issue , can u plz help me out how to do it. will be really helpful Thanks in adv. Link to comment Share on other sites More sharing options...
musicmaster Posted December 29, 2015 Share Posted December 29, 2015 In the header of classes/order/order.php you will find the fields of the order and order_detail tables defined. You must add your field there too. 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