Linux 软件免费装
Banner图

Tagalong Gifts for WooCommerce

开发者 moodithegamer
更新时间 2026年9月30日 13:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: MIT
版权网址: 版权信息

标签

woocommerce promotion coupon gift free gift

下载

2.1.0

详情介绍:

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 For developers The source code and end-to-end tests are on GitHub.

安装:

  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.

屏幕截图:

  • 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.
  • The order screen shows the gift line and the coupon that added it.

升级注意事项:

2.1.0 First WordPress.org release. If you used 2.0.0 from GitHub, choose the gift on your coupons again.

常见问题:

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.

更新日志:

2.1.0 2.0.0 1.0.0