The above is achieved using short code [sale_products per_page="4" screen_width="100" product_item_size="size-medium"]