Skip to main content

How to disable or corrupt "all" on pagination?

More
13 years 1 month ago #123036 by magyaart
-- HikaShop version -- : HikaShop Business: 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Firefox 23.0.1

I have a lot of products in the store. How to disable the ability to show "All" in the selection of pagination? (only from the front, of course!) (eg show 10, 20, 40, all) - How to disable or corrupt "all". The shop is not able to display 4000 products, it takes a very long time, and the user goes.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #123041 by Mohamed Thelji
Hi,
One of the solution will be to edit "getLimitBox()" function through the "administrator/components/com_hikashop/helpers/pagination.php" file and change this line :
Code:
$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));
By :
Code:
//$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #123046 by magyaart

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum