In current webshop (Opencart) we have built a custom feature in the system cart-handler that automatically add x products for every 10 y ordered. It looks like buy 20 and get 2 extra for free.

If we were to add the same to Magento. Where should we look. Which file needs to be modified?


Afaik you can only change prices of products already in the cart, but not actively adding those products to the cart if you reach your "buy 10 products of type X" quantity. You have to have it in the cart already and only get a discount for them. if you do not have them in the cart: nothing will happen. I know that there are some extensions that address this, but i do not know if there are any compliant to a free license.

The problem with "buy X get Y for free" alsow was, that it is not cross product. So you cannot "buy 10 of X and get i of Y free" but only "buy 10 of X and get Y of X for free".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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