Rohan Mitchell
|
2db2fbcade
|
Change set_variant_attribute to set_variant_attributes, implement it on Order
|
2012-08-02 14:45:27 +10:00 |
|
Rohan Mitchell
|
ea05f05576
|
When adding a group buy product to the cart, set the max quantity on the order
|
2012-08-02 14:29:05 +10:00 |
|
Rohan Mitchell
|
5e04032797
|
Explicitly specify Spree 1.1.1, fix test regression in OrdersController
|
2012-07-23 18:48:30 +10:00 |
|
Rohan Mitchell
|
98bcc9ce71
|
When adding first product to cart, add the product and set the distributor even if the order has a different distributor set
|
2012-06-25 06:57:24 +10:00 |
|
Rohan Mitchell
|
df831a9128
|
Do not add the product to cart if the chosen distributor is different from the order's distributor
|
2012-06-24 20:14:07 +10:00 |
|
Rohan Mitchell
|
4481ca83f9
|
OrdersController does not permit adding products with invalid distributors
|
2012-06-24 19:58:09 +10:00 |
|
Rohan Mitchell
|
24ad4f53fc
|
Raise error if distributor changed illegally
|
2012-06-24 19:23:44 +10:00 |
|
Rohan Mitchell
|
7b92fcb614
|
Do not allow deselecting distributor after product added to cart at controller level
|
2012-06-24 14:56:27 +10:00 |
|
Rohan Mitchell
|
d3c80e99fc
|
Do not allow changing distributor after product added to cart at controller level
|
2012-06-24 14:54:48 +10:00 |
|
Rohan Mitchell
|
056733a426
|
Add controller spec for deselecting distributors
|
2012-06-24 13:48:55 +10:00 |
|
Rohan Mitchell
|
3219006423
|
Push several request specs down to controller level, replace with scenario. Set order's distributor when adding product to cart
|
2012-06-24 13:21:36 +10:00 |
|
Rohan Mitchell
|
fc5795173e
|
Do not add the product to cart if the user specifies a distributor that the product is not available at
|
2012-06-24 12:56:47 +10:00 |
|
Rohan Mitchell
|
99d6f0baa9
|
Require a distributor when adding a product to the cart
|
2012-06-24 12:13:33 +10:00 |
|
Rohan Mitchell
|
5411685c83
|
Split products by local/remote distributor: logic
|
2012-06-24 07:36:56 +10:00 |
|
Rohan Mitchell
|
03b87225d0
|
Add spec for selecting a distributor, add distributor to order model, add controller method for selecting distributor
|
2012-06-22 11:25:32 +10:00 |
|