luisramos0
|
567196fe0e
|
Fix line item verification of stock on the browser side by adding logic to handle completed orders with some reserved stock
The shopping/orders_spec is now validating this edge case by using all stock available in one of the line items
|
2019-06-25 14:50:03 +01:00 |
|
luisramos0
|
a6ea975848
|
Fix editing cart when variant on_demand but on_hand is zero or negative
|
2019-06-24 22:07:46 +01:00 |
|
luisramos0
|
fce3d69345
|
Add flash and warning to the cart page when item becomes unavailable
|
2019-04-13 21:39:41 +01:00 |
|
luisramos0
|
60ee17204b
|
Merge branch 'master' into 2-0-stable-Mar16
|
2019-03-16 16:17:38 +00:00 |
|
luisramos0
|
351555d4e2
|
Remove unused methods from add_to_cart helper and distribution change validator
|
2019-03-02 12:55:08 +00:00 |
|
luisramos0
|
5183c90c89
|
Add missing spree translations related to insufficient stock
|
2018-12-12 15:34:48 +00:00 |
|
Andy Palmer
|
afc50863cd
|
Replace Deface with update to overridden template
|
2017-10-24 17:39:34 +11:00 |
|
Rob Harrington
|
eec3a21c89
|
Allow editing of completed orders from confirmation page where distributor allows it
|
2017-05-05 14:19:32 +10:00 |
|
Maikel Linke
|
4835ef067f
|
Add feature to remove line items from open order cycle
- Add JS controller to send delete requests.
- Add resource controller to destroy items.
- Add authorisation check to abilities.
- Update fees after removing line item.
|
2017-05-05 14:19:32 +10:00 |
|
Rohan Mitchell
|
88e9eb59cf
|
Do not allow invalid quantity to reach model, triggering server update
|
2016-04-29 11:56:48 +10:00 |
|
Rohan Mitchell
|
1384140e41
|
Notify when stock limit reached on cart rather than silently capping
|
2016-04-27 15:10:54 +10:00 |
|
Rohan Mitchell
|
36f4df2931
|
Allow max value in cart of what's on hand
|
2016-04-27 12:27:24 +10:00 |
|
Rohan Mitchell
|
cf40e0432a
|
When cart is updated with insufficient stock, show amount in cart, not amount entered
|
2016-04-27 12:27:24 +10:00 |
|
Rob Harrington
|
cb1f79f59a
|
Updating front end order details, invoices and pdfs to display names of line_items as opposed to variants
|
2015-10-28 15:42:14 +11:00 |
|
Rob Harrington
|
ab7bfd10c5
|
Revert "Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module"
This reverts commit e86e08b72e939fee61eddd41d56081395666a877.
Conflicts:
lib/open_food_network/order_and_distributor_report.rb
spec/features/admin/variants_spec.rb
spec/lib/open_food_network/order_and_distributor_report_spec.rb
|
2015-10-28 13:08:50 +11:00 |
|
Rob Harrington
|
795830d94d
|
Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module
|
2015-10-28 13:07:31 +11:00 |
|
Rob Harrington
|
dd8c769ea9
|
Hiding fee breakdown on cart page for now
|
2015-03-13 16:50:57 +11:00 |
|
summerscope
|
a8de4dc039
|
WIP checkout page and order confirmation page. Working on making these pages more consistent to each other, to email confirmation, and to shopping experience.
|
2015-03-10 11:35:53 +11:00 |
|
summerscope
|
e3b660abb9
|
Shopping cart page update to simplify, improve and expose fees
|
2015-03-05 17:21:13 +11:00 |
|
Rohan Mitchell
|
94684e9963
|
Show overridden price in shopping cart
|
2014-12-19 16:51:11 +11:00 |
|
Rob Harrington
|
8a3bffb37d
|
Cart page conforms to convention in rest of checkout, adjusting helpers through checkout
|
2014-11-26 18:53:29 +11:00 |
|
Rob Harrington
|
8f27c643f1
|
Move override for cart line item into existing view replacement
|
2014-11-26 16:08:53 +11:00 |
|
summerscope
|
00ac80bdbb
|
Add new icons
|
2014-05-30 12:56:56 +10:00 |
|
summerscope
|
0957edee5d
|
Styling for shopping cart page
|
2014-05-20 15:50:03 +10:00 |
|
Will Marshall
|
96ce982ea3
|
Reworking the checkout into Darkswarm, patching up tests
|
2014-03-18 15:58:22 +11:00 |
|