Pronesis Posted April 23, 2013 Share Posted April 23, 2013 (edited) Hi forum, In Prestashop BO 1.5.4 (the section is Catalog -> products), there's a button to export the products on excel; the export creates a file with only the items visible on the page (example if i have a filter that show only 10 products the export is only of this 10 products) Does anyone know how to modify the code to export ever all products in the catalog ? I've try to modify the file AdminController.php (located in classe/controller/) by deleting the limit of the query, row 2196 (($use_limit === true) ? ' LIMIT '.(int)$start.','.(int)$limit : '') So the csv is created with all products, but i lose the pagination of products (all products are viewed in the same page) so i think there's a better way to do that. Please help Thanks SOLVED Solved by my own: in the same file AdminController.php row 574: $this->getList($this->context->language->id); change in: $this->getList($this->context->language->id,null,null,0,false); Edited April 23, 2013 by PGallerani (see edit history) 3 Link to comment Share on other sites More sharing options...
Andrew07 Posted August 19, 2013 Share Posted August 19, 2013 Thank you!) Link to comment Share on other sites More sharing options...
erigins Posted August 21, 2013 Share Posted August 21, 2013 WTF) 5 letters and its work!!!! THANKS!!! Как экспортировать все товары сразу prestashop Экспорт всех товаров prestashop Link to comment Share on other sites More sharing options...
Verito Posted January 14, 2014 Share Posted January 14, 2014 Thanks a lot! Link to comment Share on other sites More sharing options...
mgo3 Posted March 8, 2022 Share Posted March 8, 2022 It doesn't work for orders list. Any clue? Thank you! ;) 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