Hello!
Joomla 6.0.0.
Phoca Cart 5.2.3 Beta 2
The pagination is working correctly (both the number of products per page and the default number of products per page).
I want to remove the option to display all products (the «All» option).
In the Phoca Cart settings, I set the «Pagination Limit (Category, Items View)» parameter to Enable or Disable, but the «All» option still remains in the list of choices for the number of products per page.
How can I remove the «All» option from the list of choices for displaying products per page?
Pagination Limit (Category, Items View) how to remove the All option
- Slava
- Phoca Member

- Posts: 13
- Joined: 07 Nov 2025, 18:39
- Jan
- Phoca Hero

- Posts: 49111
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pagination Limit (Category, Items View) how to remove the All option
Hi, the pagination is a part of Joomla CMS, so the only way is to change the Pagination class directly. Yes, in Phoca Cart there is the Pagination Limit parameter which defines the "all" as the largest value in the pagination, so in fact it is limited to the largest value.
The Phoca Cart extends the standard Joomla Pagination class: libraries/src/Pagination/Pagination.php so this needs to be customized there.
Jan
The Phoca Cart extends the standard Joomla Pagination class: libraries/src/Pagination/Pagination.php so this needs to be customized there.
Jan
If you find Phoca extensions useful, please support the project
- Slava
- Phoca Member

- Posts: 13
- Joined: 07 Nov 2025, 18:39
Re: Pagination Limit (Category, Items View) how to remove the All option
Now I have understood the logic of the «Pagination Limit (Category, Items View)» functionality.
When the setting is in the Enable state, selecting All does not display all items, but rather shows the quantity specified by the highest value in the pagination breakdown. For instance, if I have set the pagination options as 8, 16, 32, 64, then the All option will display 64 items.
This fully meets my requirements. Thank you very much for your prompt and helpful comments.
When the setting is in the Enable state, selecting All does not display all items, but rather shows the quantity specified by the highest value in the pagination breakdown. For instance, if I have set the pagination options as 8, 16, 32, 64, then the All option will display 64 items.
This fully meets my requirements. Thank you very much for your prompt and helpful comments.
- Jan
- Phoca Hero

- Posts: 49111
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pagination Limit (Category, Items View) how to remove the All option
OK
If you find Phoca extensions useful, please support the project