-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with one use limited coupon #1408
Comments
Magento is actually rife with possible race conditions.. The only place it uses real locking ( |
I can confirm @colinmollenhour that real locking is magento-lts/app/code/core/Mage/Eav/Model/Entity/Type.php Lines 163 to 223 in bbd05be
I had used similar method above in a custom module to resolve a race condition. I hope this comment is useful for tackling this issue. [edit] magento-lts/app/code/core/Mage/CatalogInventory/Model/Resource/Stock.php Lines 154 to 192 in bbd05be
|
@kiatng But how to implement this in the shopping cart rule? |
Magento 1.9
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The problem then is that purchases made simultaneously will disregard the limit defined in the discount coupon rule. This should not happen, only one of those purchases should receive the discount.
The text was updated successfully, but these errors were encountered: