Search by

zero1limited / module-auto-add-free-product

arronmoss

N/A

Package info

github.com/zero1limited/Zero1_AutoAddFreeProduct

Type:magento2-module

pkg:composer/zero1limited/module-auto-add-free-product

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.2.3 2026-11-03 19:40 UTC

This package is auto-updated.

Last update: 2026-11-03 19:47:42 UTC


README

User Guide

  1. Create a new Cart Rule from Marketing > Promotions > Cart Price Rules
  2. Make sure it has no coupon code
  3. Set the conditions to be a Sku is conditions. This will be the Buy 1... part of the Buy 1 get this free
  4. Set the action to be Auto Add Free Product
  5. Set the condition on the action to be a Sku is condition. This will be the ...get this free part of the Buy 1 get this free

When adding the product described by part 3 to the cart, you will get the product described by part 5 automatically added to the cart as a 0-cost item.

Other conditions and coupon codes

The rule can also use a coupon code, and/or any other conditions (e.g. "Subtotal (Excl. Tax) greater than 50"). When the conditions are anything other than the single "Sku is" condition from part 3, one free product is added while the rule applies.

Free product lines

The free product is added as its own cart line, separate from the same product added to the cart by the customer. Its qty is kept in step with the rule, and it is removed again when the rule no longer applies (e.g. the paid product is removed, or the coupon code is removed or replaced).