I am loading in products using a custom query (here is the code for it)
/* Load The Beast Balls Category */
$args = array(
'post_type' => 'product',
'posts_per_page' => 100,
'product_cat' => 'beast-balls',
//'orderby' => 'date',
//'order' => 'desc'
);
$loop = new WP_Query( $args );
if ( $loop->have_posts() ) {
while ( $loop->have_posts() ) : $loop->the_post(); ?>
<div class="product-node cat-beast-balls" id="cat-beast-balls">
<?php wc_get_template_part( 'content', 'single-product' ); ?>
</div>
<?php endwhile;
}
wp_reset_postdata();
My problem is that the query grabs all of the products, and once it has done that it dumps them in the page.
Is there anyway to have them be dumped in the page one by one as they're loaded so that it appears as if they load quicker?