'product',
'posts_per_page' => 4,
'orderby' =>'date',
'order' => 'DESC',
'meta_query' => array(
array(
'key' => '_stock_status',
'value' => 'instock'
)
)
);
$loop = new WP_Query($args);
if ($loop->have_posts()) {
while ($loop->have_posts()) : $loop->the_post(); global $product;
?>
';
echo '
No new arrival products found.
';
echo '
';
}
}
?>