Product List Selection takes up to a minute to load

  • shoptgcm
    Asked on June 28, 2020 at 11:23 AM

    It takes between minimum 10 seconds to a minute to load a product option upon selection by our users on various networks.

    We have used low res photos as the thumbnails and have kept all widgets & details to a minimum.

    May I know how best to reduce this latency without cutting down my product options so that the selection is immediate?

  • Niko_N
    Replied on June 28, 2020 at 1:22 PM

    Greetings,

    I've checked your form and still, some of your photos have a size of 1-2 MB that slows down the loading time of your products.

    You may try to compress photo sizes using online tools and use those photos instead:

    Product List Selection takes up to a minute to load Image 1 Screenshot 20

    Online tools to compress .png or .jpeg photos:

    https://compresspng.com/

    https://compressjpeg.com/

    Alternatively, as your product images are not visible by their original size, you may decrease size of photos by decreasing their resolution/dimensions:

    https://www.reduceimages.com/

    Please give a try and let us know if you need any further assistance.

    Thank you!



  • shoptgcm
    Replied on June 28, 2020 at 9:53 PM

    Hi, we've reduced our images to 500kb or less. However the issue is not with the loading of images. It is with the dropdown menu of quantity selection when a product is chosen. That still takes minimum 10seconds. Please advise.

  • Ariel JotForm Support
    Replied on June 28, 2020 at 11:47 PM

    Hi there,

    Thank you for contacting Support.

    I'm currently looking at your form, I'll update you on this same thread as soon as I have some news.

  • Ariel JotForm Support
    Replied on June 29, 2020 at 12:44 AM

    Greetings,

    Thank you for waiting.

    Since the event's on the quantity selection are all client side, the best way to optimize it is by reducing the number elements JavaScript has to deal with.

    For reference, here's the original state of the options:

    1593404615before Screenshot 10

    The click and display event takes about 8 seconds to finish.


    Switching the product option from DropDown to TextBox reduces the number of elements significantly, thus improving the execution time.

    1593405042after Screenshot 21

    Please refer to the following GIF on how to change your product option from DropDown to TextBox.

    1593405520totexbox Screenshot 32

    Give it a try and let us know how it goes.

  • shoptgcm
    Replied on June 29, 2020 at 1:01 AM

    Hi Ariel_P,

    this workaround is great! it is significantly faster now.

    if there's any other way I can reduce the loading time of click & display event to become immediate, that would be great.

    Otherwise, this would suffice for now.

    many thanks!