slates Posted June 4, 2016 Share Posted June 4, 2016 Hello, I am using PS 1.5.6 and I would like to show the product visibility (both, none, search etc.) in Admin > Products, next to Quantity. Thanks, Gergo Link to comment Share on other sites More sharing options...
erouvier29 Posted June 5, 2016 Share Posted June 5, 2016 (edited) /controllers/admin/AdminProductsController.php (from line 241 in PS 1.5.6.2): if (Configuration::get('PS_STOCK_MANAGEMENT')) $this->fields_list['sav_quantity'] = array( 'title' => $this->l('Quantity'), 'width' => 90, 'type' => 'int', 'align' => 'right', 'filter_key' => 'sav!quantity', 'orderby' => true, 'hint' => $this->l('This is the quantity available in the current shop/group.'), ); // ADD THESE 4 LINES $this->fields_list['visibility'] = array( 'title' => $this->l('Visibility'), 'filter_key' => 'a!visibility', ); $this->fields_list['active'] = array( 'title' => $this->l('Status'), 'width' => 70, 'active' => 'status', 'filter_key' => $alias.'!active', 'align' => 'center', 'type' => 'bool', 'orderby' => false ); Edited June 5, 2016 by erouvier29 (see edit history) 1 Link to comment Share on other sites More sharing options...
simberak Posted August 31, 2016 Share Posted August 31, 2016 Hello, I wiuld like to have this to, but I would like to see visibility from table ps_product_shop. Is there a way how to do it? Thanks Link to comment Share on other sites More sharing options...
simberak Posted September 4, 2016 Share Posted September 4, 2016 Probably not? 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