On Sale Products Bricks Query Loop

Looking to show only the WooCommerce products that are on sale in Bricks?

Set up a query loop, enable the PHP query editor and paste:

return [
	'post_type' => 'product',
	'posts_per_page' => 100, // a large number
	'no_found_rows' => true,
	'post__in' => wc_get_product_ids_on_sale(),
	'orderby' => 'post__in',
];

Adjust posts_per_page as needed.

Reference

https://stackoverflow.com/a/28005478/778809