[Skip to main content](#vessel-content)

#   How do I set pagination default to "all" products?

##

- **[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")**
- [![jberry210490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6511-jberry210490 "View jberry210490's Profile") Topic Author
- [ Offline](/forum/user/6511-jberry210490)

Less More

- Posts: 76
- Thank you received: 2
-
-
-

14 years 6 months ago [\#50468](#50468) by [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")  *[How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50468 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")* was created by *[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")*

Hi there,

I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to "all" products.

How do I do this?

Thanks in advance,

Jonathan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 6 months ago [\#50529](#50529) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50529 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

In the HikaShop options of your menus and modules (that you can access via the menu Display-&gt;Content menus/modules), you have the option "number of items". Set it to 99999 and it will display all the products as long as you don't have more than 99999 products on a page.
Please note though that having too much products on a page can slow down the display of a page so it's always good to set a reasonable number of products per pages (not more than a few hundreds).

The following user(s) said Thank You: [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")**
- [![jberry210490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6511-jberry210490 "View jberry210490's Profile") Topic Author
- [ Offline](/forum/user/6511-jberry210490)

Less More

- Posts: 76
- Thank you received: 2
-
-
-

14 years 6 months ago [\#50562](#50562) by [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")  Replied by *[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50562 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

Hi Nicolas,

Thankyou for the quick reply.

When I do this though, I remove the pagination controls at the bottom of the page. I want to show all products, but still enable the individual to change the number of products displayed on a page. Is this possible?

Jonathan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 6 months ago [\#50649](#50649) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50649 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

That should be the case actually, unless you're displaying your products listing directly with a module.
Can you give a link to that page so that we can see how you setup your listing ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")**
- [![jberry210490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6511-jberry210490 "View jberry210490's Profile") Topic Author
- [ Offline](/forum/user/6511-jberry210490)

Less More

- Posts: 76
- Thank you received: 2
-
-
-

14 years 6 months ago [\#50715](#50715) by [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")  Replied by *[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50715 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

[ claycellar.org/index.php/tools](http://claycellar.org/index.php/tools)

I've currently set number of products to be displayed in the associated content module and menu to be 300. But I still want pagination to be displayed.

Jonathan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 6 months ago [\#50761](#50761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50761 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

Your website is not accessible without a user account.

Please make sure that you set the option in the associated module's options. Because if you set it only in the category listing menu's option, it will apply only for the category listing, not the products listing displayed below it with the associated module.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")**
- [![jberry210490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6511-jberry210490 "View jberry210490's Profile") Topic Author
- [ Offline](/forum/user/6511-jberry210490)

Less More

- Posts: 76
- Thank you received: 2
-
-
-

14 years 6 months ago [\#50769](#50769) by [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")  Replied by *[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50769 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

Sorry, that was just whilst I was backing up the site.

You'll be able to access it now...

Jonathan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 6 months ago [\#50847](#50847) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I set pagination default to "all" products?](/forum/4-how-to/50468-how-do-i-set-pagination-default-to-all-products#50847 "Hi there,  I want to keep the pagination unit at the bottom of product listings, but where as it's current default is to display 20 products per page, I want the default to be set to &quot;all&quot; products.  How do I do this?  Thanks in advance,  Jonathan")*

I was able to check your website.

I think I now understand what you want.
You will have to edit the file "listing_div" of the view "product" via the menu Display-&gt;Views and change the line:
&lt;?php if(in_array($pagination,array('bottom','both')) &amp;&amp; $this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;pageInfo-&gt;limit-&gt;value){ $this-&gt;pagination-&gt;form = '_bottom'; ?&gt;

to:
&lt;?php if(in_array($pagination,array('bottom','both')) &amp;&amp; $this-&gt;params-&gt;get('show_limit')){ $this-&gt;pagination-&gt;form = '_bottom'; ?&gt;

so that it always displays the pagination area regardless of whether all the products are displayed or not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUwNDY4LWhvdy1kby1pLXNldC1wYWdpbmF0aW9uLWRlZmF1bHQtdG8tYWxsLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
