Description your bug

When you use the built in button to "Generate Coupons" and you set "Number of uses per customer per coupon" too unlimited, then the resulting coupons are still limited to a default of 1.

screenshot showing generate coupons settings

generated coupons

Steps to reproduce

  1. Generate coupons and set "Number of uses per customer per coupon" to unlimited (see first screenshot)
  2. Notice the generated coupons still have a per customer limit of 1 (see second screenshot)
CommentFileSizeAuthor
#2 3294489-2.patch756 bytesjsacksick
generatedcoupons.png172.06 KBxamount
limit.png108.63 KBxamount

Comments

xamount created an issue. See original summary.

jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new756 bytes

Good catch! The attached patch should do the trick.

jsacksick’s picture

Status: Needs review » Fixed

Committed!

  • jsacksick committed 5595687 on 8.x-2.x
    Issue #3294489 by jsacksick, xamount: Generation coupons ignores per...

  • jsacksick committed 04543a4 on 3.0.x
    Issue #3294489 by jsacksick, xamount: Generation coupons ignores per...

Status: Fixed » Closed (fixed)

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