I need to create a blank page which is used to list out the product by the category
$args = array( 'post_type' => 'product', 'posts_per_page' => 100, 'product_cat' => 'hot-deals');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
global $product;
var_dump($product);
endwhile;
wp_reset_query();
I need to generate an XML from the result. If I simply create a page, it will include the header and footer in it