I am using shopping cart price rules in my custom module, everything is working fine. I just want to get product ID's against every rule.
If there are 10 products in cart and on 3 of them had some rules applied, rule #1 on 2 products and rule #2 on 1 products.
How can I mark the products ID's against every rule?
Best Answer
I solved it like that
Just change
process
function in Validator.php toAnd
validate
function in Found.php toAnd access the values in
Observer
with Vadidator class object like$appliedProductsIds = $validator->_appliedProductsIds;
Hop this will help someone..