Gift for product bought

  • Popularity Score 584 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

Allows you to give a gift (a free product) for a particular product, if it is ordered.
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.

Magento Connect 2.0

Magento Connect 2.0

Previous Next

Gift for product bought

This extension allows you to add a gift (another product of the stock), which will be added to the cart automatically with zero price for any of the products you wish to promote.


Before installing go to the menu System -> Tools -> Compilation and Disable it! Install extension via Magento Connect. After installation, if you want to enable Compilation, go in the same menu as above, and Run Compilation Process.


If you want to give a gift to clients who buy a particular product, just add the SKU of the 'product gift' on 'Product Page / Gift for product Bought' in Magento backend and set yes to make the gift active. example: If you want to offer a mouse free for those who buy a laptop: enter 'SKU' for the mouse in the laptop product page (Gift for product Bought), and set yes to activate. The gift will be highlighted in listing mode (by adding image, name, and its price) in grid mode with a watermark ('+1 Gift'). Cart will show the same number of gifts equal to the number of products ordered, with price 0. (of course change the number of products ordered will change and the number of gifts). If you have any questions please contact me via Magento Connect or email: !
M1 Extension Versions


2013-05-09 16:57:46
  • Version number: 1.0.1
  • Stability: Beta
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0



Hello, Thank you for the great extension, i have a question is it possible to change the water mark with another picture?
Asked by: Mahmoud247
Yes ... replace the image [Magento_instalation_folder]/media/catalog/product/watermark/default/gift1e.png , with the image you want.
Answered by: Alin_M
Date published: 2013-12-07

Does this work with 1.8?

Asked by: DonnaWallace
Answered by: Alin_M
Date published: 2014-09-27

How do you get box to show only two decimals.

Great extension! One issue though. When gift box displays it shows four decimals and I need it to show only two for the USD amount.
Asked by: jrowe77656
This extension use getFormatedPrice(); for display the price of gift .... is the price formated according current store currency rules. Please check your configuration.
Answered by: Alin_M
Date published: 2013-10-22

"Localize" images used

Hi Alin, I wonder if there's any possibilities to use custom images for each Store, depending on the selected language. i.e. Romanian, English etc. Thank you! Marius
Asked by: Ethica Press
Everything is possible .... the folder app/community/Alin/ProductGift a Data.php find file .... Here you will find Mage::getDesign()->getSkinUrl('images/gift2e.png') ... is for list mode for grid is in Image.php $this->watermark ('gift1e.png', 'bottom-right', $ img_size, '100 '); You can modify this code as you wish ..... (eg. if Mage::app()->getStore()->getCode() == 'ro' ..... ) If you want to collaborate .... contact me via email.
Answered by: Alin_M
Date published: 2013-10-22

Multiply gift quantity by 10 ?

Hi Alin, great extension, thanks for making it available to the community. Could you guide me how to multiply the gift quantity by 10? I want to give 10 small pieces of the gift sku when they buy 1 piece of the main product. Thanks a lot, Stavros
Asked by: stavros
Hi, In next version .... Alin
Answered by: Alin_M
Date published: 2013-10-22

Fatal error

Fatal error: Call to a member function addOption() on a non-object in /home/typhoono/public_html/typhoon/app/code/community/Alin/ProductGift/Model/Observer.php on line 71
Asked by: Anonymous
The product offered as gift must be enabled ... in stock ... etc !!!!!!!!!!
Answered by: Alin_M
Date published: 2014-03-14


I would like to translate myself this extension. Where is the file for translating? I have been looking in /app/locale/en_UD folder but I haven't found anything. At the sime time I want to congratulate you for this extension. It's great.
Asked by: zilargi
Found. It was in app/code/community/Alin/ProductGift/Helper/Data.php.
Answered by: zilargi
Date published: 2014-02-08

Fatal Error

Fatal error: Call to a member function addOption() on a non-object in /home/jugato/public_html/jugato12/app/code/community/Alin/ProductGift/Model/Observer.php on line 71 on adding product to cart Thanks
Asked by: shashanktho

Connection string is empty

I get key from magento connect 2.0, after i install it via magento connect manager in admin, when i click Proceed it show message Connection string is empty? Please help me, thanks!!!
Asked by: anhtuan2790

Error on adding product to cart

Fatal error: Call to a member function addOption() on a non-object in /home/jugato/public_html/jugato12/app/code/community/Alin/ProductGift/Model/Observer.php on line 71 on adding product to cart Thanks
Asked by: sjjolly
  • y_2017, m_2, d_20, h_5CST
  • bvseo_bulk, prod_bvqa, vn_bulk_0.0
  • cp_1, bvpage1
  • co_hasquestionsanswers, tq_17
  • loc_en_US, sid_17702, prod, sort_[SortEntry(order=LOCALE, direction=DESCENDING), SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=NUM_ANSWERS, direction=DESCENDING)]
  • clientName_magento
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.


About the Developer

This extension was developed by and is supported by Alin_M

Gift for product bought is rated 4.4 out of 5 by 10.
Rated 4 out of 5 by from Good Extension Works well. If you grab the helper function you can display this where ever you like. '<?php echo Mage::helper('productgift')->getBlockGift($product->getData('sku_of_product_gift')); ?>'
Date published: 2015-06-18
Rated 4 out of 5 by from works fine Only Issue that i am facing is the +1 Gift Watermark doesn't work for me.
Date published: 2015-05-10
Rated 1 out of 5 by from Doesn't work with CE Unfortunately doesn't work with Magento CE When you choose the dates they would be reseated to 01/01/1970 (switching months and days each SAVE time) and even if in the end you'll find a way to put the date manually you'll not see the additional product to be added to the cart.
Date published: 2014-12-18
Rated 5 out of 5 by from Just what I was looking for! Brilliant extension to allow me to give away free gifts at my store. For example, buy Rotastak hamster house and get free bedding. Took no time at all to setup and configure, and multiple products can be assigned a free gift by using the 'update attributes' feature in Magento 'manage products' view. Fab!
Date published: 2013-11-03
Rated 5 out of 5 by from Should be a core module Thumbs up for Alin, he made a perfect extension available for the community. Does exactly what you need and gives you full control of presentation of your gifts. In the next version consider multistore integration (now also possible with custom code),. It would be ideal for the non-techies like me :-) Also I would love to see the possibility to give a multiple gift quantity. Let say to have a multiplier in the backend. Thanks Alin.
Date published: 2013-09-10
Rated 5 out of 5 by from Worked like a charm Installed it via Magento Connect, installation successful, and working instantly on the frontend. Excelent contribution and instant support. Thanks a lot Alin.
Date published: 2013-08-08
Rated 5 out of 5 by from Works! Great Extension thank you, can't believe Magneto doesn't support this by default
Date published: 2013-05-22
Rated 5 out of 5 by from Extension error after install Hello, I tried to install this extension on my store and I get the following error and the admin area doesn't work: [Mon May 13 09:22:06 2013] [warn] mod_fcgid: stderr: PHP Fatal error: Class 'Alin_ProductGift_Model_Resource_Eav_Mysql4_Setup' not found in /public_html/includes/src/Mage_Core_Model_Resource_Setup.php on line 234 Can anyone give me a hint on how to solve this issue ?? Thanks a lot and have a great day! Cristi
Date published: 2013-05-13
Rated 5 out of 5 by from Perfect Perfect This extension works very well. No bugs, No errors, No pain in the a**. Just need to edit one file to match your desired appearance on the product page. app/code/community/Alin/ProductGift/Helper/Data.php For me, this is what I have done from the default appearance. Very nice extension...
Date published: 2013-05-12
Rated 5 out of 5 by from Great extension This a super extension... We have it on our website and there is no bugs. We did A/B test and increased the conversion rate by 15-30% procent on product that had a gift. We changed the design. Thank you, Radu Metes
Date published: 2013-05-11
  • y_2017, m_2, d_20, h_10
  • bvseo_bulk, prod_bvrr, vn_bulk_0.0
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_10
  • loc_en_US, sid_17702, prod, sort_[SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=SUBMISSION_TIME, direction=DESCENDING)]
  • clientName_magento

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.



* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window


To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.