if( have_rows('product_categories') ):
while ( have_rows('product_categories') ) : the_row();
// Loop 1 content
endwhile;
endif;
reset_rows();
// 2nd Loop
if( have_rows('product_categories') ):
while ( have_rows('product_categories') ) : the_row();
// Loop 2 content
endwhile;
endif;