The lifetime qty restriction only checks previous orders in the database and not what the user already has in the cart.
This means if a product has a limit of 3 I can add that product to my cart 4 times then check out.
This patch adds a check of the users cart to avoid this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_restrict_qty_check_cart.patch | 922 bytes | agileware |
Comments
Comment #1
agileware commentedActually this probably should happen for any qty restrict, not just lifetime.
Comment #2
jvieille commentedActually, uc_restrict does not restrict anything without this patch (though "critical").
Can this be committed - 2 and hlf year after the bug was spotted on and solved?
Thanks
Comment #3
raulmuroc commentedCommitted.