I'm a newbie in magento. I'm trying to add the Shopping Cart price rule "Buy X Get Y".

In my case, I want to let the user buy x number of Products from Product A and the user will receive the same amount of Products from Product B for free.

This can be done by adding a rule for each value of x, but that is meaningless.

Is there another way I can achieve this? Something like a loop?

Thanks in advance

1 Answer 1


as far as i Know, you wont able to do using shopping cart rule only. Refer to below link he has some solution to this


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.