How to change Display#20 to 10?

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94767

On all modules I have entered 10 items (product tabel) to display on page, but is displayed 20. On category menu's is all okey. If it have to display 6, then displayed 6 (div's).

Shows: Display# 20, 40, 60...
Have to be shown: Display# 10, 20, 30...

If I open the first page, are at first 10 items displayed, then if I go to next page, are displayed the first 10 items + the next 10 items = 20 items. I have all checked and entered everywhere "10".

How can I change "20" to "10"?

Last edit: 11 years 7 months ago by Vero.

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

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
11 years 7 months ago #94778

edit the file "configuration.php" at the root of your website.
And change the var $list_limit value from 20 to 10.

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

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94787

mohairbears wrote: edit the file "configuration.php" at the root of your website.
And change the var $list_limit value from 20 to 10.


You mean joomla configuration.php?
I did, but no changes on website, still 20.

I think this have to be in Hikashop, because just in Hika are 20, 40, 60... In Joomla 5, 10, 15...
But I can't find Hikashop configuration.php (I found sef_ext.php, router.php, hikashop.php) but nowhere in those $list_limit value "20"

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

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
11 years 7 months ago #94808

In each HikaShop listing menu/module, you can select the "number of items". By default it's 20 so simply set it to 10.
You can find that option of your menus/modules via the menu Display->Content menus/modules

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

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94812

nicolas wrote: In each HikaShop listing menu/module, you can select the "number of items". By default it's 20 so simply set it to 10.
You can find that option of your menus/modules via the menu Display->Content menus/modules


Sorry, but you didn't read my topic... I wrote, that everywhere I selected "10". And that is problem: selected "10", shown still "20".




Attachments:
Last edit: 11 years 7 months ago by Vero.

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

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
11 years 7 months ago #94818

Please make sure that you're using the version 2.1.1 of HikaShop. If not please update.

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

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94834

nicolas wrote: Please make sure that you're using the version 2.1.1 of HikaShop. If not please update.


I have updated. Nothing changed.

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

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94889

I'm still waiting for help. Can somebody help me? Please.

Last edit: 11 years 7 months ago by Vero.

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

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
11 years 7 months ago #94898

Please don't bump your messages.

Edit the file "listing_table" via the menu Display->Views and change the line:

<?php echo $this->pagination->getListFooter(); ?>
to:
<?php echo $this->pagination->getListFooter($this->params->get('limit')); ?>
and that should help.

The following user(s) said Thank You: Vero

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

  • Posts: 222
  • Thank you received: 1
11 years 7 months ago #94910

Thanks!!!

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

Time to create page: 0.090 seconds
Powered by Kunena Forum