The responses I read looked like they were a few years old...so maybe Magento has this now.

I want to have customers Buy boots get a free hat.

Is this possible?


2 Answers 2


Still the same as a few years ago. There is not "free gift" shopping cart price rule: http://docs.magento.com/m2/ce/user_guide/marketing/price-rules-cart.html so you will need a custom module.

For Magento 1, see one of the old answers like Offering a free gift with purchase of a particular product type like (Buy X products Get Y Free)

For Magento 2, there are already commercial extensions, but you should be able to build it in the same way.

  • 1
    A much easier way is to use a third party module like the Special Promotions Pro from Amasty (goo.gl/9WxbA4). It really works for our needs.
    – Ner
    Apr 30, 2018 at 7:34

This feature is provided in magento simply follow the steps:

Follow the procedure:

  1. Go to magento admin panel->Marketing->Promotions->Cart Price Rules
  2. Click on add new rule
  3. Fill in the rule information section.

enter image description here

  1. Give the condition on which you would like to give Y free on buying X.

Here I have given a condition that buy 2 qty of a product from category 3 and get one free enter image description here

  1. in the action section image description here

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