koc Posted November 10, 2013 Share Posted November 10, 2013 Hello, In the backoffice I want to add a column for product warehouse location to the products list. In controllers/admin/AdminProductsController.php I added the line $this->fields_list['location'] = array( 'title' => $this->l('Location'), 'width' => 'auto', ); but it doesn't work the collumn is empty any help? Link to comment Share on other sites More sharing options...
Gladzio Posted February 7, 2014 Share Posted February 7, 2014 I also would like to have such column in product listing in P.S 1.5.5? Any solution / piece of advice? Link to comment Share on other sites More sharing options...
eljose2 Posted May 31, 2014 Share Posted May 31, 2014 You need to add: $this->fields_list['location'] = array( 'title' => $this->l('Location'), 'width' => 30 ); before this code: $this->fields_list['price'] = array( 'title' => $this->l('Base price'), 'width' => 90, 'type' => 'price', 'align' => 'right', 'filter_key' => 'a!price' ); in the file AdminProductsController.php and should work. Link to comment Share on other sites More sharing options...
fransjaeger Posted May 19, 2015 Share Posted May 19, 2015 in reality you cannot add location to product list, at least not if you use product variants, as each variant will have its own location. Link to comment Share on other sites More sharing options...
italyhitech Posted April 23, 2017 Share Posted April 23, 2017 Hello, but because the column location is empty also if the product not have it the variant? Not exist a solution to fix this problem? Link to comment Share on other sites More sharing options...
italyhitech Posted April 27, 2017 Share Posted April 27, 2017 no solution? Link to comment Share on other sites More sharing options...
andrew Posted June 8, 2020 Share Posted June 8, 2020 Are you using advanced stock management - where the location is by warehouse (if yes, this uses a different table for the location) 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