Active
Project:
Ubercart Restrict Qty
Version:
7.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2015 at 09:06 UTC
Updated:
3 Mar 2016 at 21:07 UTC
Jump to comment: Most recent
Comments
Comment #2
sevenfish commentedComment #3
afagioliNoticed that. It actually makes sense since this module release works on the hook_uc_cart_item_update(), while we need the hook_uc_cart_item_insert() also.
This is my suggestion in uc_restrict_qty.module:
Hope will help
Comment #4
jn2 commentedIs anyone else working on this? Seems a serious bug in my client's use case.
A digital product is restricted to one item, using this module. However, the Add to cart button for the item can be clicked any number of times with no warning. In the cart, the price is incremented for the number of times the button was clicked, but the Qty always shows as one. Very confusing to customers. The only way to fix it is to delete and readd the item.
The code in #3 looks like movement in the right direction.