televi Posted October 26, 2016 Share Posted October 26, 2016 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! Link to comment Share on other sites More sharing options...
tuk66 Posted October 27, 2016 Share Posted October 27, 2016 See /controllers/admin/AdminOrdersController.php. The osname item is similar to yours. Link to comment Share on other sites More sharing options...
televi Posted October 28, 2016 Author Share Posted October 28, 2016 I am still stuck on this.. i tried looking at the osname but i do not really undestand what am i missing.. can somebody help me out? 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