WooCommerce: Display ONLY on-sale products in Shop
I need to create a products archive page (usually the Shop page in WooCommerce ) but displays ONLY the ON SALE products . Basically it should use the same template layout as that in the archive-product.php . There will be a link in the main menu that will direct to this page. How do I go about this? UPDATE I managed to filter out the ON SALE products with the code below placed just above the if ( have_posts() ) : line... $args = array( 'post_type' => 'product', 'order' => 'ASC', 'paged' => $paged, 'meta_query' => array( array( 'key' => '_sale_price', 'value' => 0, 'compare' => '>', 'type' =>