Изменить количество объектов в pagenavbox

  • Posts: 7
  • Thank you received: 1
11 years 8 months ago #137651

Нужно убрать из количества строк при показе товара возможность "выбрать все" Через фаербаг видно что опции выводит следующий код (I need to chenge the value in page nav boxe - i need that is option value "0" (show all will) is not availble to chek):
<div class="limit">

Кол-во строк:

<select id="limit_hikashop_category_information_menu_543_15069" class="chzn-done inputbox" onchange="this.form.submit()" style="width:70px" size="1" name="limit_hikashop_category_information_menu_543_15069">
<option selected="selected" value="20"></option>
<option value="40"></option>
<option value="60"></option>
<option value="80"></option>
<option value="100"></option>
<option value="0"></option> - how i can remowe it?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137665

Hi,
I didn't really understood what you wanted to remove, some can you explain it to me through some screenshots so that can understand what you really want to do.

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

  • Posts: 7
  • Thank you received: 1
11 years 8 months ago #137668


I need to remove next option:
“Possibility to select/show products All”
max need 100 per list

i need to remove this stroke - <option value="0"></option>

Attachments:
Last edit: 11 years 8 months ago by Oleg Vasilich.

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

  • Posts: 84237
  • Thank you received: 13681
  • MODERATOR
11 years 8 months ago #137690

Hi,

You can remove the line :

$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));
in the file administrator/components/com_hikashop/helpers/pagination.php

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

  • Posts: 7
  • Thank you received: 1
11 years 8 months ago #137703

Thank you! Work!

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

Time to create page: 0.076 seconds
Powered by Kunena Forum