I was testing what happens when 2 customers both try to order the last item in stock.
1. Alice puts the product in her cart
2. Bob puts the product in his cart
3. Alice checks out
4. Bob tries to check out.
I got these messages:
Error message
The maximum quantity for PRODUCT that can be ordered is 0.
Status message
please adjust quantities before continuing to checkout
The first message is not very user-friendly, and is also untrue. There is no restriction on how many of the product can be ordered at one time, its just that it's currently out of stock. It's also confusing when the system allowed Bob to place this in his cart 5 minutes ago.
The second message has typos: it needs a capital letter and a full stop.
Finally, it would be better if the user saw only one message rather than 2.
Comments
Comment #1
guy_schneerson commentedsee https://drupal.org/node/1744238#comment-6377858
As far as first msg - it is configurable and as it may repeat for multiple items so the second msg is used as a call to action
The maximum quantity for PRODUCT x that can be ordered is 0.
The maximum quantity for PRODUCT y that can be ordered is 2.
....
please adjust quantities before continuing to checkout.
Comment #2
joachim commentedI'm sorry but I'm going to have to insist that this is a bug report.
I can't imagine any site owner being satisfied with that message out of the box -- it's confusing and ugly to customers -- and therefore surely this module should provide a decent, sane default.
Comment #3
guy_schneerson commentedsure @joachim i agree and as i explained in https://drupal.org/node/1744238#comment-6377858 this will be addressed at a later stage.
Comment #4
guy_schneerson commentedComment #5
guy_schneerson commentedI did my best to engage the Drupal community but this and other related issues are not getting any traction, surly if this was an unacceptable bug others would have backed this issue.
The system works and messages are configurable through rules. the second message "Please adjust quantities before continuing to checkout." is now uppercased and has a full stop and only shows up if the user attempted to enter checkout.
I am downgrading this to a feature request and if demand grows we can look at it again.