Title: Tagalong Gifts for WooCommerce
Author: Mahmood Saeed
Published: <strong>September 29, 2026</strong>
Last modified: September 29, 2026

---

Search plugins

![](https://ps.w.org/tagalong-gifts-for-woocommerce/assets/banner-772x250.png?rev
=3720384)

![](https://ps.w.org/tagalong-gifts-for-woocommerce/assets/icon-256x256.png?rev=
3720384)

# Tagalong Gifts for WooCommerce

 By [Mahmood Saeed](https://profiles.wordpress.org/moodithegamer/)

[Download](https://downloads.wordpress.org/plugin/tagalong-gifts-for-woocommerce.2.1.0.zip)

 * [Details](https://wordpress.org/plugins/tagalong-gifts-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/tagalong-gifts-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/tagalong-gifts-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/tagalong-gifts-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/tagalong-gifts-for-woocommerce/)

## Description

Run offers like “Use code FREEMUG and get a mug free” with the coupons you already
use.

Choose a **Free gift product** on any coupon. When a customer applies that coupon,
one of that product is added to their cart for free. The gift tags along with the
coupon: remove the coupon and the gift goes too, and the other way round. The gift
is clearly labelled on the order, so whoever packs it knows why it’s there.

#### Features

 * **Adds the gift automatically** when the coupon is applied.
 * **Really free.** The gift is priced at 0 in the cart total, not just labelled“
   Free”.
 * **One gift per coupon.** The customer can’t raise the gift’s quantity. If they
   also buy the same product, those units stay paid and appear as a separate line.
 * **Coupon and gift stay together.** Remove one and the other goes too, including
   when WooCommerce drops the coupon because its rules are no longer met (for example,
   minimum spend).
 * **Refuses a coupon whose gift isn’t available** (out of stock, deleted or not
   for sale), with a clear message.
 * **Labelled everywhere:** “Free gift: with coupon freemug” in the cart, checkout,
   order emails, My Account and the order screen, plus a private order note.
 * **Works with the Cart and Checkout blocks and the classic cart and checkout.**
 * **Compatible with High-Performance Order Storage (HPOS).**
 * Uses WooCommerce’s own coupon rules: expiry dates, minimum spend, usage limits
   and so on.
 * No settings page, no extra database tables, no scripts or styles loaded on your
   store.

#### For developers

 * `tagalong_gift_coupon_map`: map coupon codes to product or variation IDs in code.
 * `tagalong_gift_product_id`: decide the gift for a coupon at runtime.
 * `tagalong_remove_coupon_with_gift`: return `false` to keep the coupon when the
   gift is removed.
 * `tagalong_free_price_html`: change the “Free” label in the classic cart.

The source code and end-to-end tests are on [GitHub](https://github.com/Mahmooodsaeed/Tagalong-Gifts-for-WooCommerce).

## Screenshots

[⌊The classic cart: the gift is shown as Free, its quantity is fixed, and the total
doesn't include it.⌉⌊The classic cart: the gift is shown as Free, its quantity is
fixed, and the total doesn't include it.⌉[

The classic cart: the gift is shown as Free, its quantity is fixed, and the total
doesn’t include it.

[⌊The block cart: the gift's original price is crossed out and its quantity can't
be changed.⌉⌊The block cart: the gift's original price is crossed out and its quantity
can't be changed.⌉[

The block cart: the gift’s original price is crossed out and its quantity can’t 
be changed.

[⌊Choose the Free gift product on the coupon's General tab.⌉⌊Choose the Free gift
product on the coupon's General tab.⌉[

Choose the Free gift product on the coupon’s General tab.

[⌊The order screen shows the gift line and the coupon that added it.⌉⌊The order 
screen shows the gift line and the coupon that added it.⌉[

The order screen shows the gift line and the coupon that added it.

## Installation

 1. Install and activate WooCommerce.
 2. Go to **Plugins  Add New Plugin**, search for “Tagalong Gifts for WooCommerce”,
    then install and activate it.
 3. Go to **Marketing  Coupons** and create or edit a coupon.
 4. On the **General** tab, search for a product under **Free gift product**. For a
    gift-only coupon, use **Fixed cart discount** with **Coupon amount 0**.
 5. Publish the coupon.

## FAQ

### Which products can be a gift?

A simple product, or one exact variation such as “Hoodie – Medium”. Variable products
can’t be chosen, because the customer would need to pick options. The product needs
a price and must be in stock. The customer never pays that price.

### How do I stop people buying the gift on its own?

Edit the gift product and set **Catalog visibility** to **Hidden**. It can still
be given as a gift.

### Can a coupon give a discount as well as a gift?

Yes. Set the coupon’s discount type and amount as usual, then also choose a free
gift product.

### What happens if the gift runs out of stock?

New customers can’t apply the coupon. They see “Sorry, the free gift for this coupon
is out of stock right now.” A customer who already has the gift in their cart gets
WooCommerce’s usual out-of-stock message at checkout, as with any product.

### Can the customer choose between several gifts?

Not at the moment. Each coupon gives one specific product.

### Does it work when I add a coupon to an order in the admin?

The coupon is applied, but the gift isn’t added automatically. Add the gift product
to the order by hand.

### What does it store, and what happens when I delete the plugin?

It stores the chosen gift on each coupon, a hidden marker on gift order lines, and
a flag on orders that got a gift note. Deleting the plugin removes the coupon setting.
Past orders keep their gift details.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Tagalong Gifts for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Mahmood Saeed ](https://profiles.wordpress.org/moodithegamer/)

[Translate “Tagalong Gifts for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/tagalong-gifts-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tagalong-gifts-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/tagalong-gifts-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/tagalong-gifts-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/tagalong-gifts-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.0

 * First release on WordPress.org.
 * Renamed to Tagalong Gifts for WooCommerce. Code prefix changed from `gcl_` to`
   tagalong_`. If you installed 2.0.0 from GitHub, choose the gift on your coupons
   again after updating.
 * The coupon screen checks its security token and user permission itself before
   saving.

#### 2.0.0

 * Rewritten as a plugin: gift chosen on the coupon screen, gift really free and
   locked to quantity 1, coupon codes match in any letter case, Cart and Checkout
   blocks and HPOS supported, order note fixed, unavailable gifts refuse the coupon.

#### 1.0.0

 * Original code snippet.

## Meta

 *  Version **2.1.0**
 *  Last updated **23 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [coupon](https://wordpress.org/plugins/tags/coupon/)[free gift](https://wordpress.org/plugins/tags/free-gift/)
   [gift](https://wordpress.org/plugins/tags/gift/)[promotion](https://wordpress.org/plugins/tags/promotion/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/tagalong-gifts-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tagalong-gifts-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tagalong-gifts-for-woocommerce/reviews/)

## Contributors

 *   [ Mahmood Saeed ](https://profiles.wordpress.org/moodithegamer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/tagalong-gifts-for-woocommerce/)