I need to get the product Ids, matching to the cart rule, in my cron job.
I looked on some posts in
stackoverflow, but in those answers, product is loaded for each rule.
I don't want to load each product again and again.
Somebody suggest a good way to do it.