long loading time

  • Posts: 513
  • Thank you received: 21
  • Hikashop Business
1 day 2 hours 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: 83590
  • Thank you received: 13528
  • MODERATOR
16 hours 31 minutes 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.

Time to create page: 0.056 seconds
Powered by Kunena Forum