• Resolved lhtan

    (@lhtan)


    Hi Support,

    I have recently added several products with huge variations into the website. Some with 400+ variable some up to 700+.

    Ever since I uploaded such product, the product page is loading very slow and the overall website speed slows down as well.

    Can you suggest an idea of how to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @lhtan,

    That is a great question. While WooCommerce doesn’t have a built-in limit on the number of variations you can have, loading them all is an expensive operation for the server. It takes lots of resources to construct the list of variations.

    Here are a few ways you can speed this up.

    • Increase your server resources. Having more available memory will speed up how quickly the operations with variations can be completed.
    • Split the main variations into separate products. Sometimes users will take a product like a shirt that has five colors and then break those colors up into separate products. That can greatly reduce the number of variations and speed things up.
    • Use Product Add-ons instead of variations. Add-ons load much more quickly than variations, so sometimes users switch to them instead of variations. Or they swap out some of the variations for add-ons.
    • I hope that gives you some options that you can work with. Let us know if we can help.

    Thread Starter lhtan

    (@lhtan)

    Hi Three Sons,

    Thanks for the advice.

    1. I’ll try to increase the server resources as much as I can for the moment.
    2. Due to the nature of business, I can’t split the product into different main variations as I think the user shopping experience might not be great. For example, one of the product “Flyer”, people would want an immediate comparison of prices for different size and finishing with simple clicks there.
    3. I did try to use add-ons, but sadly, my products cost from suppliers comes in the form of excel and csv, I don’t have the formula to put them into product add-ons as there are many elements affecting the price changes.

    Is it possible for the product page not to load the whole list of variable product CSV at one go? Example, the website first load up the product page in the fastest time possible. Then, only collect and read the CSV list after the user has selected the attributes they wanted. I believe that will be able to split the loading into 2 time, user wont feel the slow loading speed.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @lhtan

    If you don’t have to track inventory for each variation combination than you can use Product Add-ons, however, any other changes to the number of variations that are loaded will require customizations.

    We recommend one of the services listed on this page who can assist with any custom development work:

    https://woocommerce.com/customizations/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Slow website loading after adding large variable products’ is closed to new replies.