Jump to content

Adding columns to the Admin Tabs


Recommended Posts

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 by SeVi (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...