Shop page takes 20 seconds + to load
-
The original Issue
Originally I was tasked with creating a website which featured a product with lots of variations. Its a memorial plaque which comes in different shapes and sizes, now once I had set everything up i realised that if you were to select the “shape” as “oval” instead of filtering out all the other options that aren’t available for the oval plaque it still showed every available option for every plaque which is just incorrect.
The 2nd issue
To fix the first issue I came across this code:function gt_wc_ajax_variation_threshold( $qty, $product ) {
return 500;
}add_filter( ‘woocommerce_ajax_variation_threshold’, ‘gt_wc_ajax_variation_threshold’, 10, 2 );
Which completely fixed my issue however now the shop portion of my site runs unbelievably slow, it sometimes can take up to 25 seconds to load. So how do i fix my original issue with out slowing my shop down so much?
I’ve had to repost this since my first time didnt get any attention, i need woocommerce to address this issue.
The page I need help with: [log in to see the link]
- The topic ‘Shop page takes 20 seconds + to load’ is closed to new replies.