fishordog Posted August 16, 2012 Share Posted August 16, 2012 (edited) Was trying to find any info on forums on how to add column to Orders Tab in the BO, had no luck so far. I want to have an extra column which will show Country from the shipping address of the customer. Thank you Edited August 16, 2012 by SeVi (see edit history) Link to comment Share on other sites More sharing options...
phrasespot Posted August 19, 2012 Share Posted August 19, 2012 Look in the /admin/tabs/AdminOrders.php, particularly its constructor. Link to comment Share on other sites More sharing options...
fishordog Posted August 19, 2012 Author Share Posted August 19, 2012 (edited) So i have added 'country' => array('title' => $this->l('Country'), 'width' => 100, 'type' => 'select', 'select' => $this->countriesArray, 'filter_key' => 'cl!id_country'), to the public function __construct() and now my Country column displays as dropdown menu and doesn't pull the country name from the database. How to make it display actual country. I checked my ps_orders and it has only delivery_address and billing_address EDIT: CHanged from dropdown menu to regular. Now trying to make it show Country Edited August 19, 2012 by SeVi (see edit history) Link to comment Share on other sites More sharing options...
fishordog Posted August 22, 2012 Author Share Posted August 22, 2012 anyone knows how to do it? Link to comment Share on other sites More sharing options...
phrasespot Posted August 22, 2012 Share Posted August 22, 2012 anyone knows how to do it? What you are asking is a change to the core files and is not a configuration issue, therefore better suited in develoment forum, try there. Alternatively seek professional help. Link to comment Share on other sites More sharing options...
fishordog Posted August 23, 2012 Author Share Posted August 23, 2012 What you are asking is a change to the core files and is not a configuration issue, therefore better suited in develoment forum, try there. Alternatively seek professional help. will do, thanks 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