Plugin screenshot thumbnail 1/1

Gift with Purchase adds automated gift promotions to your Craft Commerce store. Define rules that automatically add gift products to the cart when specific conditions are met - and remove them when conditions are no longer satisfied.

How it works

Create gift rules in the control panel, each with its own set of conditions and a gift product. When a customer updates their cart, the plugin evaluates all active rules and manages gift line items automatically. Gift prices are maintained through Commerce's recalculation cycle, so the configured price (free, discounted, or fixed) always stays correct.

Flexible conditions

Each rule supports multiple condition types that can be combined:

  • Cart subtotal — Set a minimum and/or maximum subtotal threshold (gift items are excluded from the calculation).
  • Specific purchasables — Require one or more specific products to be in the cart before the gift is added.
  • Product categories -- Require products from specific categories to be present in the cart.
  • Date scheduling -- Limit rules to a start and/or end date for time-limited promotions like holiday campaigns or flash sales.
  • User groups — Restrict rules to customers in specific user groups (requires Craft Pro).

Gift configuration

  • Choose any purchasable variant as the gift product.
  • Set a custom quantity and price (0 for free, or any fixed amount for discounted gifts).
  • Add an optional note to the gift line item, visible to customers in their cart.

Smart cart behavior

  • Gifts are automatically added when conditions are met and removed when they're not.
  • Choose whether to re-add a gift if the customer manually removes it, or respect their decision.
  • Multiple rules can run simultaneously, each managing its own gift product independently.

Control panel management

  • Dedicated control panel section with a sortable rule overview.
  • Drag-and-drop priority ordering.
  • Bulk actions for enabling, disabling, and deleting rules.
  • Full edit interface with Details, Behavior, and Conditions tabs.

Developer-friendly

The plugin fires events before and after saving or deleting gift rules, so you can extend behavior with custom logic -- for example, syncing promotions with external systems or adding custom validation.

Standard

Plus $19/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
2
Version
5.1.1
License
Craft
Compatibility
Craft 3, Craft 5
Last release
March 12, 2026
Categories
Activity (30 days)
0
Closed Issues
0
Open Issues
12
Merged PRs
0
Open PRs