kashifkhan112 Posted September 10, 2013 Share Posted September 10, 2013 Please find attachment and add these files to your project folder, then add link anywhere that you want. Link: <a href="{$link->getPageLink('all-products')|escape:'html'}">{l s='All products'}</a> yourprojectfolder.zip 1 Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2013 Share Posted September 10, 2013 nice solution but it is necessary to overwrite original controles, what about overrides? 1 Link to comment Share on other sites More sharing options...
kashifkhan112 Posted September 10, 2013 Author Share Posted September 10, 2013 nice solution but it is necessary to overwrite original controles, what about overrides? Yes we can override files like: classes/Product.php to override/classes/Product.php but these are not default Prestashop files, how can override these files like:? controllers/front/AllProductsController.php to ? all-product.php ? Link to comment Share on other sites More sharing options...
luigiurrea Posted January 13, 2014 Share Posted January 13, 2014 Hi, I like to put a link on my main menu (using the blocktopmenu module) to show all my products on my store. Can I do this using your solution? If yes, where I need to put the folder? Under my main root site, under default theme? Which will be the link to put on the URL the module is asking for? Thank you in advance for your help Link to comment Share on other sites More sharing options...
vekia Posted January 14, 2014 Share Posted January 14, 2014 unpack this file right to the root dir of your store then use link as it is suggested Link: <a href="{$link->getPageLink('all-products')|escape:'html'}">{l s='All products'}</a> Link to comment Share on other sites More sharing options...
luigiurrea Posted January 14, 2014 Share Posted January 14, 2014 Link to comment Share on other sites More sharing options...
vekia Posted January 15, 2014 Share Posted January 15, 2014 hmm something weird, your message is just .... blank Link to comment Share on other sites More sharing options...
luigiurrea Posted January 15, 2014 Share Posted January 15, 2014 (edited) Yes, it´s real weird, I thank you for your reply. Thank you again. Edited January 15, 2014 by luigiurrea (see edit history) Link to comment Share on other sites More sharing options...
luigiurrea Posted January 15, 2014 Share Posted January 15, 2014 (edited) Only part of the message is displayed again! Edited January 15, 2014 by luigiurrea (see edit history) Link to comment Share on other sites More sharing options...
luigiurrea Posted January 15, 2014 Share Posted January 15, 2014 Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 really weird you probably use some banned words in your message im not sure can you attach your message to PM ? i will check it then Link to comment Share on other sites More sharing options...
lionna Posted February 3, 2014 Share Posted February 3, 2014 unpack this file right to the root dir of your store then use link as it is suggested Link: <a href="{$link->getPageLink('all-products')|escape:'html'}">{l s='All products'}</a> Hi Vekia, just stumbled upon this thread, 'cause I am also looking for a Show All Products feature. So is it the only way at the moment to do this? I am using PrestaShop 1.5.6.1 and wondering, if that feature was added in the release 1.5.6. Otherwise, how safe is this solution? By "safe" I mean, if there are some conflicts with e.g. other modules? Link to comment Share on other sites More sharing options...
CLance Posted February 4, 2014 Share Posted February 4, 2014 I followed the instruction. However I get an empty page. http://eviewtrading.com/denmall/marketplace/ Top Menu - "ALL" Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2014 Share Posted February 4, 2014 turn on error reporting please, then instead of "blank" page you will see detailed information what and where doesnt work. Link to comment Share on other sites More sharing options...
CLance Posted February 5, 2014 Share Posted February 5, 2014 it's ok~ i used another method to do that, assigned new category as All products, so i solved my problem. Thanks, Vekia. Link to comment Share on other sites More sharing options...
vekia Posted February 5, 2014 Share Posted February 5, 2014 thank you for information where the problem was this "all products" feature is very nice in use and as far as i know works with all 1.5.x releases well Link to comment Share on other sites More sharing options...
126volt Posted March 17, 2014 Share Posted March 17, 2014 I followed the instruction and have error Fatal error: Class 'AllProductsController' not found in C:\xampp\htdocs\sklep\prestashop\classes\controller\Controller.php on line 128 someone can help? Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2014 Share Posted March 17, 2014 hello make sure that you uploaded files with their original names (check it because unix systems are CaseSensitive) Link to comment Share on other sites More sharing options...
126volt Posted March 17, 2014 Share Posted March 17, 2014 hmm I haven't changed names of files only unziped and copy to root dir Prestashop.But now it's works I find solution "delete class_index.php in root dir/cache/" when I search about CaseSensitive in PrestaShop.Thanks vekia for help Link to comment Share on other sites More sharing options...
vekia Posted March 18, 2014 Share Posted March 18, 2014 thank you for information where the problem was btw. you can do it in back office under preferences > performance tab there is a button to clear cache and autoload index this file is an "autoload index" Link to comment Share on other sites More sharing options...
loulou66 Posted March 18, 2014 Share Posted March 18, 2014 (edited) Hi ENGLISH i create a module with override of product class based on file of 1st post tested on PS 1.5.6.2 blank with default theme 1*) install this module showallproducts.zip with BO module page 2*) go in your menu top config and create link with url ==> index.php?controller=all-products thanks to kashifkhan112 for originals files FRENCH j'ai créer cde module avec un override ce la classe product base sur les fichier du 1er post testé sur un PS 1.5.6.2 vierge avec le theme par defaut 1*) installer le module showallproducts.zip par la BO 2*) aller dans la configuration votre modue de menu haut (Menu Haut horizontal par defaut) et créer un lien avec comme url ===> index.php?controller=all-products Merci a kashifkhan112 pour les fichiers d'origines @++ loulou66 showAllProducts-V_1.0.zip Edited March 29, 2014 by loulou66 (see edit history) 2 Link to comment Share on other sites More sharing options...
126volt Posted March 19, 2014 Share Posted March 19, 2014 (edited) i'm not sure but pagination doesn't work with index.php?controller=all-products . When you have <10 products is ok, but for more products don't have pagination and nbr product page.when I change the number of products on the page, for example, 30.index.php?controller=all-products is still shows 10 products Edited March 19, 2014 by 126volt (see edit history) Link to comment Share on other sites More sharing options...
absol Posted March 19, 2014 Share Posted March 19, 2014 Hi loulou66, thanks for your module, can you please help us out with the pagination? Link to comment Share on other sites More sharing options...
loulou66 Posted March 19, 2014 Share Posted March 19, 2014 HI i found an another solution without new module http://www.prestashop.com/forums/topic/316178-all-product-on-fo/ i try to corrige the module for probleme with pagination @++ Loulou66 Link to comment Share on other sites More sharing options...
126volt Posted March 20, 2014 Share Posted March 20, 2014 (edited) or maybe all products onone pagefor me it will be ok//I found a solution how to display all the products on one pageIn AllProcuctsController.php in line 'products' => Product::getAllProducts($this->context->language->id, (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay), I changed $this->n to $nbProducts 'products' => Product::getAllProducts($this->context->language->id, (int)($this->p) - 1, (int)($nbProducts), false, $this->orderBy, $this->orderWay), Anyone know how to display "quantityDiscount" from the product page for the list of products Edited March 25, 2014 by 126volt (see edit history) Link to comment Share on other sites More sharing options...
loulou66 Posted March 29, 2014 Share Posted March 29, 2014 Hi like 126volt said I MODIFY the module to display all products on one page without pagination( look my earlier post) @126volt use {$product.quantity_discount} (see in smarty debug console) @++ Loulou66 Link to comment Share on other sites More sharing options...
jjryeste Posted May 24, 2016 Share Posted May 24, 2016 Please i need showAllProducts-V_1.0.zip,not download , please send to [email protected] , thank you Link to comment Share on other sites More sharing options...
dceldran Posted June 2, 2016 Share Posted June 2, 2016 Please i need showAllProducts-V_1.0.zip,not download , please send to [email protected] , thank you i also need it, thanks Link to comment Share on other sites More sharing options...
Recommended Posts