How to disable show "All" products in a category

  • Posts: 90
  • Thank you received: 2
11 years 8 months ago #94055

Hello,

As you know, my project has over 150.000 products, and some categories, over 40.000 products.

If someone selects show "All" products in a category, my server will retire and go on a vacation :).

So please tell me, how can I control the drop down and disable some options, like All.

Thank you!

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #94094

Hi,

You can remove the line
$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));
in the file administrator/components/com_hikashop/helpers/pagination.php
Ideally though, it's best to use a joomla template override to change the display of the pagination so that you won't have to reapply your changes for every update:
docs.joomla.org/Understanding_Output_Ove...tion_Links_Overrides
demente-design.com/extensions/item/74-jo...-pagination-override

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

Time to create page: 0.058 seconds
Powered by Kunena Forum