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?