Webshop is very slow with variants

  • Posts: 45
  • Thank you received: 3
  • Hikashop Business
12 hours 43 minutes ago #368346

-- HikaShop version -- : 6.0 0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.3.24

We have created a webshop (only to make offers, not to make an actual purchase) for products that can be customized by size.
I did this with variants. Some of the products have up to 800 variants. First you choose a category, the category will load all the products in the category. But when you choose a product, it takes like 20 to 30 seconds the page. No need to explain that that is too long ;-)
What can we do to speed this up? Or is that just how it is wit variants?

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

  • Posts: 84290
  • Thank you received: 13691
  • MODERATOR
9 hours 56 minutes ago #368350

Hi,

It is how it is with variants. A variant is like a product. So, if you have 800 variants for a product, the system has to load all 800 variants on the page. So it is similar to displaying a listing of 800 products on the frontend. It would also be as slow.
Now, there are very few cases where you really need that many variants.
In most cases, you can do the same with custom fields of the table "item":
www.hikashop.com/support/documentation/4...shop-field-form.html
These won't require much loading so you can have dozens of fields with dozens of values for each without any speed difference on the product page load.
So, I would recommend looking into the possibility of using custom item fields instead of characteristics.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum