Jump to content

BO Products List


televi

Recommended Posts

Hello,

 

We created a column in our ps_product table called province.  And inside that column we have listed provinces for each product Ontario, Quebec etc..

 

Now in Backoffice, when we are viewing all products we would like to have a drop down menu that where we can select each province..

 

In AdminProductsController.php we have:

 

$this->fields_list['province'] = array(
            'title' => $this->l('Test'),
            'filter_key' => 'a!province',
            'align' => 'text-center',
            'type' => 'select',
            'class' => 'chosen',
            'orderby' => false,
        );
 
 
If you look at my screen shot the drop down menu (blue) is empty.  How do we fill it up with our options, or can it pull the options from the province colum in the ps_product table? 
 
 
Thank you!
 
 

post-1310604-0-56924700-1477501373_thumb.jpg

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...