Variable product (single page) taking much time to load
-
Hi,
I have a customized requirement from my client as he needs to have functionality to display bulk order system for variable products. I have used below functions to get color and sizes
For color attributes: wc_get_product_terms( $product->id, ‘pa_colors’ );
For size attributes: $product->get_available_variations();***user can add one color and with multiple size at a time.
and add the products to cart via ajax. Everything running good but the single product page takes around 2 mins sometimes more to load fully and this is one of the problem.
Here is the screenshot of the bulk order section: Click here
Another issue is I have to populate the woocommerce mini cart on add to cart ajax call.
Any suggestions what I have to do to resolve this two issues.
The topic ‘Variable product (single page) taking much time to load’ is closed to new replies.