Free Gift

Extension features

Free Gift allows you to add gifts to the customer shopping cart. When your customers shop at your store and met specific conditions, they receive as a token of gratitude. The conditions can vary:

  • Each Condition Match — Add gifts when rule conditions are met. E.g. a free T-shirt for every 2 items added to cart (buy 4 get +1 free).
  • Matched Cart Condition — Add gifts when the specifit item is placed into the shopping cart. E.g. If a Hoodie is found in the cart, add a free T-shirt.
  • Total Cart Amount — Add gifts when the specified cart amount is met. E.g. If a customer adds items that total to $200 or more, add a free bonus product.
  • Extra Quantity — Add the extra amount of specified products if rule conditions are satisfied. E.g. If a customer adds 5 hoodies to the shopping cart, he gets a sixth hoodie for free. This applies to all specified products in the store.

An easy-to-use Magento 2 promotional gift extension that allows to auto-add free products to cart via custom rules. You can configure rules the way you need. Set a free or discounted product, tweak its quantity, adjust cart conditions, rule duration and more.

Reward customers when they spend a specified sum or buy a specific product. Drive attention to bonus offers with banners and pop-up messages showing when the gift is auto-added to cart. Our Magento 2 gift extension makes it easy to create, run and optimize your promotional product campaign. Our Magento 2 Free Gift extension will help you:

  • Build smart promo campaigns using all-in-one extension
  • Boost repeated sales and customer loyalty with free gifts
  • Motivate customers to complete the purchase
  • Add free products to cart to reduce its abandonment
  • Promote sales and cross-sells of specific products
  • Inspire spontaneous purchases through bargain-hunting

Installation

To install the extension to your Magento 2 store, please follow these steps:

  • Unzip and paste the extension file into your root Magento folder.
  • Connect to your server by SSH.
  • Go to your Magento root folder.
  • To install the extension, perform this command:
php bin/magento setup:upgrade
  • Reset JavaScript cache by removing all folders in pub/static:
_requirejs; adminhtml; frontend.
  • To switch the extension on/off, perform these commands:
php bin/magento module:enable Aitoc_Free_Gifts
php bin/magento module:disable Aitoc_Free_Gifts

You can activate/deactivate several Aitoc extensions at once by specifying their names separated by space in the command.

NOTE

To install the extension via composer please read this guide.

Initial setup

Go to STORES → CONFIGURATION → AITOC EXTENSIONS → FREE GIFT and set the text which will be added to your gifts:

Your customers will see (Gift Item) near the gifts in their shopping cart.

To configure your unique cart promotion rules, go to MARKETING → PROMO PRODUCTS BY AITOC → PROMOTIONAL RULES. Here is an overview of all your created ruels:

When creating a rule, you get a variety of settings that allow you to customize its functionality. Let's cover them one-by-one:

Setting Purpose
Enabled Enable or disable the extension on website level.
Rule Name Give a catchy name to your rule.
Description Describe how this rule works. This description will not be shown to the customer, it's an internal thing.
Stores Select in which stores the rule will run.
Customer Groups Select for which customer groups the rule will run.
Priority If you have several active rules that can apply to the shopping cart, the one with the highest priority will apply first. The highest priority is 1.
Stop Rule Processing The Stop further rules processing flag allows you to make relationships between different rules. Your store will execute the shopping cart rules in order of priority. If the system reaches a rule with the Stop Further Rules Processing flag, it will stop going through any lower priority rules. This allows you to make some rules exclusive.

Setting Purpose
Coupon Type A dropdown menu that offers four options: • None - no coupon is applied when the rule triggers • Coupon code - applies a coupon code to the shopping cart • Auto Generation - auto generates a one-time use coupon code and applies it to the shopping cart • Use Sales Rule ID - applies a defined sales rule found by ID
From Date / To Date These dates specify the active period for your rule. You can leave either field blank, and the rule will not be limited by the date.
Rule Type A dropdown menu with four options: • Each Condition Match - Adds gifts when rule conditions are met. E.g. a free T-shirt for every 2 items added to cart (buy 4 get +1 free) • Matched Cart Condition - Adds gifts when the specifit item is placed into the shopping cart. E.g. If a Hoodie is found in the cart, add a free T-shirt • Total Cart Amount - Adds gifts when the specified cart amount is met. E.g. If a customer adds items that total to $200 or more, add a free bonus product • Extra Quantity - Add the extra amount of specified products if rule conditions are satisfied. E.g. If a customer adds 5 hoodies to the shopping cart, he gets a sixth hoodie for free. This applies to all specified products in the store.
Discount type A dropdown menu with four options: • Amount - fixed rate • Percent - a percentage of total
Discount Amount *Applicable only to discount type "Amount" *. Enter a flat rate discount amount here. Put 0 for giveaway items (so you'll be adding free items to the shopping cart and not a discount).
Discount Percent (%) Applicable only to discount type "Percent". Enter a percentage discount amount here. Put 0 for giveaway items (so you'll be adding free items to the shopping cart and not a discount).
Qty Discount is applied to Set the quantity of free items added to the cart. For example, you created a rule where 1 red t-shirt in the shopping cart adds a free pair of pants to the cart. If you set the value to 1, then only 1 red t-shirt in the shopping cart will trigger free pants. Even if the customer adds 10 more t-shirts, only 1 pair of pants will be added.
Discount Step (Each X) Applicable only to rule types "Each Condition Match" and "Extra Quantity". Defines how many items should be in the shopping cart or how many conditions should be met in order for the gift item to be added to the shopping cart. For example, you want to gift a free pair of pants for purchasing 3 t- shirts. If the customer orders 6 t-shirts, he gets 2 pairs of pants.
Spent amount Applicable only to rule type "Total Cart Amount". Adds X gift items for a specific cart total.

Setting Purpose
Discount type A dropdown with two options: • All items • One of the items. Choose “All Items” to add all selected Promotional Products (see below) to customers’ carts on Rule triggering. Choose “One of the Item” to add one of the selected Promotional Products to the cart (random choice) on Rule triggering
Promotional Products Applicable only to rules type "Each Condition Match", "Matched Cart Condition" and "Total Cart Amount". Select the promotional products which will be added to the shopping cart.
Cart Condition Applicable only to rules type "Each Condition Match", Matched Cart Condition" and "Extra Quantity". Determine conditions and actions for the cart based on which the rule will be executed. "ALL" and "TRUE" values can be changed to "ANY" and "FALSE". You can apply the rule to specific product categories, products with specific attributes and other. The cart properties such as cart amount, cart grand total etc. can also be used.
Cart Item Actions Applicable only to rules type "Each Condition Match", Matched Cart Condition" and "Extra Quantity". Determine conditions and actions for the products based on which the rule will be executed. "ALL" and "TRUE" values can be changed to "ANY" and "FALSE".

Warning

Save the rule after editing to make it active.

Once the rule is triggered, a promotional product is added to the customer’s cart. A message appears that notifies customers about a gift item: "GIFT Item was added to your shopping cart. Item SKU: << SKU >>, Qty: << qty >>

In the shopping cart, the customer can see the item added:

Statistics tab

The Statistics tab shows all cases when each of your promotional rules has been applied.

NOTE

The filter allows you to select the date range in case you want to study a particular period of time.