We will have a coupon entity which can be created on the discount UI. If a discount has coupons, that limits the validation and redemption of the discount. Coupons have no additional logic themselves, aside from containing a coupon code.

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review

Creates a coupon entity, promotions can have unlimited coupons https://github.com/drupalcommerce/commerce/pull/444.

bojanz’s picture

Status: Needs review » Fixed

The PR was merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.