The attached patch adds validation to the checkout form.
At the point the user presses ‘continue’ on the checkout form a check is performed to make sure all items are in stock if not the user gets redirected back to the cart form.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | stock-validation-at-checkout-1216500-3.patch | 2.08 KB | guy_schneerson |
| add-stock-validation-to-checkout.patch | 2.06 KB | guy_schneerson |
Comments
Comment #1
guy_schneerson commentedi am updating and reviewing all my recent patches
Comment #2
guy_schneerson commentedComment #3
guy_schneerson commentedupdated patch tested with commerce rc1
Comment #4
guy_schneerson commentedcommited: http://drupalcode.org/project/commerce_stock.git/commit/f4d4e0f