KolfKord Posted May 2, 2013 Share Posted May 2, 2013 (edited) Hello to all, I prestashop version 1.5.4.0 ... I wanted to ask if it was possible, in the BO product list, view the posted date ... Edited May 7, 2013 by KolfKord (see edit history) Link to comment Share on other sites More sharing options...
KolfKord Posted May 6, 2013 Author Share Posted May 6, 2013 Nothing.... Link to comment Share on other sites More sharing options...
vekia Posted May 6, 2013 Share Posted May 6, 2013 what you exactly expect? what you mean by posted date? product add date? where you want to display it? Link to comment Share on other sites More sharing options...
KolfKord Posted May 6, 2013 Author Share Posted May 6, 2013 Hello Vekia, screen attached, in addition to ID, product name, category, price, etc. ... I would also put the date of registration of the product in such a way as to give a sorting by date also ... Link to comment Share on other sites More sharing options...
vekia Posted May 6, 2013 Share Posted May 6, 2013 but ID field is a bit similar to date, if you sort product list by ID field - you will get the same effect as in sorting by date... anyway, if you still want the date field, go to the controllers/admin/AdminProductsController.php and search for: $this->fields_list['name'] = array( 'title' => $this->l('Name'), 'filter_key' => 'b!name' ); right after this add this code: $this->fields_list['date_add'] = array( 'title' => $this->l('Date'), ); effect: Link to comment Share on other sites More sharing options...
KolfKord Posted May 7, 2013 Author Share Posted May 7, 2013 Thank you very much! It works! Dear! Link to comment Share on other sites More sharing options...
vekia Posted May 7, 2013 Share Posted May 7, 2013 thanks for the information, you can also display other fields, just define it by using: $this->fields_list['FIELD_NAME'] = array( 'title' => $this->l('Title of the field in BO'), ); regards Link to comment Share on other sites More sharing options...
KolfKord Posted May 23, 2013 Author Share Posted May 23, 2013 (edited) thanks for the information, you can also display other fields, just define it by using: $this->fields_list['FIELD_NAME'] = array( 'title' => $this->l('Title of the field in BO'), ); regards Vekia Excuse me, but if I would like to see suppliers? I tried to put $this->fields_list['Suppliers'] = array( 'title' => $this->l('Fornitori'), 'filter_key' => 'b!name' ); but does not go ... Gives me the name ... I also tried with $this->fields_list['Suppliers'] = array( 'title' => $this->l('Fornitori'), ); but nothing ... sql gives me error if I try with the last ... Edited May 23, 2013 by KolfKord (see edit history) 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