Works that might be useful to someone.

i3 Add Gratis Product — Automatic Free Gift for WooCommerce

What does this plugin do?

I3 Add Gratis Product is a WooCommerce plugin that automatically rewards customers with a free product once their cart reaches a certain amount — no coupon codes needed.

You can set up two reward tiers:

  • Tier 1 (Free product): once the cart total reaches a minimum amount you choose, a free product is automatically added to the cart.
  • Tier 2 (Maxi free product): once the cart total reaches a higher amount, the first free product is automatically swapped out for a bigger/better free product.

The plugin calculates the “real” cart total by excluding the free products themselves, so customers can’t inflate their total by adding the free item multiple times. As soon as the customer’s cart drops below a threshold, the corresponding free product is automatically removed again — everything happens live, with no page reload required.

To keep customers motivated to reach the free gift, the plugin also displays:

  • A progress bar showing how close the customer is to unlocking the free product.
  • A percentage indicator (“XX% to FREE”).
  • Dynamic messages telling the customer exactly how much more they need to add to their cart (e.g. “Add 500 MKD more to get a free product!”), and a congratulatory message once they qualify.

The free product itself is clearly marked in the cart with a “(FREE)” label, its price is shown crossed out with 0 as the final price, and customers cannot manually remove it from the cart — it’s added and removed automatically based on the cart total.

How to administer the plugin

1. Find the settings page

After activating the plugin, go to your WordPress admin dashboard and open:

WooCommerce → Free Product

2. Turn the system on

Tick the “Enable free product system” checkbox. If this is left unchecked, no free products will be added, regardless of the other settings.

3. Configure the first free product (Tier 1)

SettingWhat it does
First free product IDThe WooCommerce Product ID of the item you want to give away for free. You can find a product’s ID in the products list in wp-admin.
Minimum amount for first free productThe cart total (excluding the free items) a customer must reach to receive this free product.
Label for first free productThe small red text shown next to the product name in the cart. Default: (FREE).
Message for how much more is neededThe notice shown above the cart while the customer hasn’t reached the minimum yet. Must contain %s — this is automatically replaced with the remaining amount. Default: “Add %s more to get a free product! 🎁”
Message for receiving the first free productThe success message shown once the customer qualifies. Default: “Congratulations! You received a free product! 🎉”

4. Configure the second free product (Tier 2 — optional)

The same five settings exist for a second, higher tier:

  • Second free product ID
  • Minimum amount for second free product
  • Label for second free product (default: (MAXI FREE))
  • Message for how much more is needed for the second free product
  • Message for receiving the second free product

If you leave the second free product ID and minimum amount empty, the second tier is simply not used, and the plugin will only manage the first free product.

5. Save your changes

Click Save Changes at the bottom of the page. Settings apply immediately — no need to clear cache for the logic itself (though if you use a page-caching plugin, make sure cart/checkout pages are excluded from caching, as is standard for any WooCommerce store).

6. Stopping the automatic gift

To temporarily or permanently stop the plugin from giving away one of the free products, simply delete the Product ID and Minimum amount for that tier and save. Alternatively, you can un-tick “Enable free product system” to pause the entire feature at once.

How it behaves for customers

  1. Customer starts adding products to the cart.
  2. A progress bar and message show how much more is needed to unlock the free gift.
  3. Once the minimum amount is reached, the free product is added automatically, priced at 0, and labeled “(FREE)”.
  4. If the customer’s cart total later grows enough to reach Tier 2, the plugin automatically swaps the Tier 1 free item for the Tier 2 free item.
  5. If the customer removes items and drops below the threshold, the free product is automatically removed.
  6. The customer cannot manually delete the free item from the cart — it is only ever added or removed by the plugin, based on the cart total.

Notes

  • The plugin works based on the actual cart total, excluding coupon discounts and excluding the free items themselves, so the reward can’t be gamed.
  • Compatible with sidebar/mini-cart plugins that use WooCommerce cart fragments (the cart display refreshes automatically when totals change).
  • Translation-ready: the plugin ships with English source text and a Macedonian and a Croatian translation, and can be translated into any other language via the languages folder.
  • This plugin was created with the help of Artificial Intelligence (AI). It is free to use, modify, and redistribute without requiring permission from the author. Use it at your own risk — always create a backup before testing or activating it on a live site.