Hello UC Coupon,
Great module BTW, I can't wait to start using it!! It looks like a lot of development has gone into this and everything looks great.
The issue I have is that I can't get this module to limit the number of redemptions per code. I've tried this with both 1.6 and 1.x-dev.
What I have done is set the "Maximum number of redemptions (per code)" to "1" and also set the "Maximum number of redemptions (per user)" to "1", and then I logged in with my test account which is a normal user not part of any special member group. I am able to use the code & check out, and then fill another cart and use the code a #2nd time, check out, repeat a 3rd time, et cetera. It never says "Code no longer available" or "You can only use this code once". Nothing, no errors just an endless amount of times I can continue using the same coupons despite it being set with a limit.
I looked at the permissions for this module and all I see are wholesale pricing, manage coupons, view coupons, & view purchased coupons. These all seem to be admin related so I've not enabled any of them for my authenticated users.
What am I missing in order to make this great feature work? Once I figure out how to limit the number of times a coupon can be used, then we can start using this module on our production site!
Thanks!
Mike
Comments
Comment #1
wodenx commentedWhat is the status of the orders on which you've used the coupon? A coupon is not marked as used until the associated order reaches a status with a weight > 0.
Comment #2
BigMike commentedAh, I see. Interesting. The orders I created were all just Pending, the default status after the order was submitted. I never tried actually completing any of them.
Hmmmm I understand how this is needed because if there are 5 codes available and 5 are used, but then 2 orders have billing issues or are canceled, it makes sense to not count those 2 out of the 5....
....but what happens when you set the limit to 5 codes and you get a rush of 30 orders before your employee is able to begin processing orders? Now these people have all agreed to pay for the order with the coupon discount.
Is there a way to change this so that the coupon is "used" once the order is "Submitted" and the customer has checked out? There are times when we won't get to any internet orders for a couple of hours. So if I had the limit to just "1", then perhaps 20 orders could get checked out with the coupon code before anyone actually comes through and updates the first order's status as "Complete".
?
Thanks
Mike
Comment #3
wodenx commentedSee #649306: Make coupon usage counting more flexible. A possible workaround is to change the "weight" of the "pending" order status to be >0 as described in #8 and #10 of that thread. Closing this as a duplicate.