Can’t filter out variable products in sale from wp_get_products loop (or shortcode) [closed]

Ok, after some digging around I’ve finally found the answer I was looking for. Turns out there is a function called wc_get_product_ids_on_sale() you can use to exclude those ID’s from wc_get_products.

So for anyone having the same problem.. you can use 'exclude' => wc_get_product_ids_on_sale() within your wp_get_products args and you’re all set!