• Hi,

    I know other people have wrote posts about their product catalogue being slow but my site is fine loading the actual catalogue but then takes ages to load a product.

    Please could you let me know if there’s anything I can do to speed up the product loading. I don’t want to take off the 3 different view options and I’m guessing this wouldn’t help as it’s not that page which takes ages to load.

    Thanks,
    Jodie

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Jodie,

    To start with, here’s a few things you can try to speed up site performance:

    1) Try setting the “Product Search” option (in the “Basic” area of the “Options” tab) to any option except for “Name, Description and Custom Fields”.

    2) Try enabling “Thumbnail Support” (in the “Basic” area of the “Options” tab).

    3) If you’re using the premium version, try setting a lower number of “Products per Page” (in the “Premium” area of the “Options” tab).

    4) I know you mentioned you don’t want to remove any layouts, but if you want to at least test performance, you can try applying the ‘excluded_layouts’ and ‘starting_layout’ attributes to your shortcode:
    [product-catalogue id="X" excluded_layouts="Detail,List" starting_layout="Thumbnail"]
    This should cut the amount of queries by two-thirds.

    Thread Starter jodiecook95

    (@jodiecook95)

    Hi,

    Thanks for your help but none of these things made a difference. It’s not my product catalogues that are taking long to load. These load quickly. It’s when you actually click on a product to view it. That’s taking about 8 seconds to view a product.

    Thanks,
    Jodie

    Hi Jodie,

    If you look at the source code for the page, you’ll likely see multiple errors. It looks like either your theme or another plugin is trying to load the jQuery library on its own. This isn’t necessary as it is included with WordPress, and, all you need to do when enqueuing a JavaScript file is specify that it requires jQuery (https://developer.www.ads-software.com/reference/functions/wp_enqueue_script/).

    You’ll need to figure out where this is coming from and disable it. Then jQuery will be able to load properly and everything should work. To figure out what plugin or theme is at fault, it might be simplest to just deactivate everything else (specially autoptimize plugin) and then re-activate one by one till you hit the issue. Then you’ll know which one is incorrectly trying to load jQuery on its own.

    Thread Starter jodiecook95

    (@jodiecook95)

    Hi,

    Thanks for getting back to me. I’ve just gone through all my plugins and deactivated them and it’s still not loading my products quickly. If I deactivate my theme will this not break my site?

    Thanks,
    Jodie

    pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    hope this helps debugging,
    frank (ao dev)

    Thread Starter jodiecook95

    (@jodiecook95)

    Hi,

    I’m getting a “Failed to load resource: the server responded with a status of 400 (Bad Request)” on the admin-ajax.php file.

    Is this another plugin causing this too happen? Or is this something that’s not working within the product catalogue plugin? I really need this sorting so any help is appreciated.

    Thanks,
    Jodie

    Hi jodiecook95,

    You seem to have emailed us about the same issue and we have answered you there as well. As suggested in the email conversation, please try contacting the host about the delay “admin-ajax.php” is adding to the load time of the page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Products taking too long too load’ is closed to new replies.