Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

SS-Shop: how to show all products in one page


3 Posts   439 Views


11 May 2014 at 10:05am (Last edited: 11 May 2014 10:06am), Community Member, 4 Posts

Currently ss-shop is set to paginate 12 products per page.
I'd like to add a button near "previous ... 1 ... 2 ... 3 .... next" that says "show all".
I found the option "protected $limitItems = true" in the paginatedlist.php file.
Is this the only viable way to do so ?

I would also like to customize the number of shown products which is now 12.



15 May 2014 at 4:24am Community Member, 79 Posts

class ProductCategory extends Page {

   private static $page_length = 6;


you can hack the code, to update page_length and do database rebuld ie dev/build, but this is not ideal solution. when updating the module, we have edit the code again.


17 May 2014 at 2:43am (Last edited: 17 May 2014 2:43am), Community Member, 79 Posts

Please ignore my last post,

you can change the pagination limit by using the setter method

// set pagination limit
ProductCategory::config()->page_length = 6;

Add the above code in mysite/_config.php