Is there a way to get all the product IDs that have sale/discount activated through WooCommerce Shop Global Discount module?
The wc_get_product_ids_on_sale function doesn’t contain any of the sale products added from the module.
In the ‘wp_options’ table just find the ‘wcj_global_discount_sale_products_incl_1’ option_name here you can find the ids of the included products in the global discount.