Posted by Agileware on February 3, 2010 at 6:32am
1 follower
Jump to:
| Project: | Ubercart Restrict Qty |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
| Attachment | Size |
|---|---|
| uc_restrict_qty_check_cart.patch | 922 bytes |
Comments
#1
Actually this probably should happen for any qty restrict, not just lifetime.