long loading time

  • Posts: 515
  • Thank you received: 22
  • Hikashop Business
2 weeks 4 days ago #366630

-- url of the page with the problem -- : jouwnaambord.demodotcom .
-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.2.6
-- PHP version -- : 8.3.19
-- Browser(s) name and version -- : Firefox latest

Hi,

On the website ( jouwnaambord.demodotcom.nl ), the pages with products of the categories Plexiglas, Dibond, Aluminium and RVS take a very very very long time to load.
This is because a lot of products are loaded in these categories.

These products are loaded in a YOOtheme page via a module element.

Is it possible in the module to reduce the number of hikashop products to 9 (3x3) and then use a button (or something similar) to display the next 9 products of the relevant category each time?

If so how should I set this up in the module.

Fred

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

  • Posts: 83674
  • Thank you received: 13545
  • MODERATOR
2 weeks 3 days ago #366631

Hi,

Modules can't have pagination.

I understand that you have created one products listing module per sub category, and then, in a Joomla article, you insert the different modules one after the other so that the products can be separated per sub category on the Joomla article page, each time with the sub category name before the listing of its products below.
A solution would be to split the Joomla article in several articles, and instead of having one page with one article, you could have a page of a listing of articles, each time with a module in it. Then, you could use this extension extensions.joomla.org/extension/ajax-infinity/ so that the Joomla articles would be loaded on the fly when you scroll down, instead of having to load everything during the page load.

However, did you know that a normal HikaShop products listing page can do that too ?
If you create a menu item of the type HikaShop products listing for a main category (like Dibond), and set its "sub elements filter" setting to "grouped by category", it will group the products of the sub categories per sub category, similarly to what you've manually constructed. And what's great is that this display mode supports pagination, so you don't have to load all the products on the same page. That way, you'll be able to have a fast loading time.
I think that's the solution you want to use. The setup and maintainability will be way easier, it doesn't require a third party plugin, and it will load fast.

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

  • Posts: 515
  • Thank you received: 22
  • Hikashop Business
1 week 1 day ago #366807

Hi Nicolas,
Thx for your answer.
I now what you tell me.
But i want to do this with a hikashop catagorie that shows true a module.
Just like the endless scrolling possiblity in a joomla menu treu the product options.
Is this one or another way possible?

Fred

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

  • Posts: 83674
  • Thank you received: 13545
  • MODERATOR
1 week 16 hours ago #366810

Hi,

Products and categories listing modules can't have pagination in HikaShop, and thus they can't have endless scrolling (infinite scroll).

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

  • Posts: 515
  • Thank you received: 22
  • Hikashop Business
1 week 9 hours ago #366818

Oke, thx, than i have to look to do it another way (like you suggest) not a module but a menu-item with infinite scroll.

Fred

The following user(s) said Thank You: nicolas

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

Time to create page: 0.061 seconds
Powered by Kunena Forum