Rohan Mitchell
|
eda4f241e2
|
Remove add to cart distribution selection, remove distribution change functionality from OrderPopulator, remove now-redundant tests
|
2014-01-08 11:39:05 +11:00 |
|
Rohan Mitchell
|
859583992e
|
Hide distributors from product details page
|
2013-10-31 10:25:57 +11:00 |
|
alexs333
|
999bc2697a
|
Implemented simlified shop flow.
|
2013-09-04 20:33:18 +10:00 |
|
Rohan Mitchell
|
24cd5209d6
|
Do not error when attempting to mix product and order cycle distribution
|
2013-08-19 10:41:14 +10:00 |
|
Rohan Mitchell
|
36a124c10e
|
Fix merge issues: DCV name change and application controller var name issues.
|
2013-07-29 11:49:43 +10:00 |
|
Rohan Mitchell
|
7640eb497a
|
Merge branch 'supplied-active-products-on-hand'
Conflicts:
app/controllers/application_controller.rb
app/models/enterprise.rb
app/views/spree/products/_source_sidebar.html.haml
spec/features/consumer/distributors_spec.rb
spec/models/enterprises_spec.rb
|
2013-07-29 11:05:42 +10:00 |
|
Andrew Spinks
|
7cb054f430
|
Merge branch 'master' into order-cycle-selection
Conflicts:
Gemfile
Gemfile.lock
app/controllers/spree/orders_controller_decorator.rb
app/models/enterprise.rb
app/models/spree/order_decorator.rb
app/views/spree/checkout/_other_available_distributors.html.erb
app/views/spree/products/_add_to_cart.html.haml
lib/open_food_web/distributor_change_validator.rb
spec/spec_helper.rb
|
2013-07-23 14:42:57 +10:00 |
|
Andrew Spinks
|
4cdd858f48
|
Disable order cycles in the front end by default.
|
2013-07-22 17:16:55 +10:00 |
|
David Cook
|
3007549aa5
|
use .length instead of .count which produced unexpected results
|
2013-06-28 17:02:26 +10:00 |
|
David Cook
|
a63b8908bb
|
Moved inline style to stylesheet
|
2013-06-21 16:12:56 +10:00 |
|
David Cook
|
b0e4bef75e
|
rename sidebar collection variables to avoid clash, fix count to be distinct
|
2013-06-21 10:42:42 +10:00 |
|
Rohan Mitchell
|
69019859da
|
Refactor views
|
2013-06-20 15:14:23 +10:00 |
|
Rohan Mitchell
|
17103a8b0c
|
Remove DistributionChangeValidator#can_change_distributor? method
|
2013-06-17 14:00:39 +10:00 |
|
David Cook
|
7ce7107c6c
|
Add meaningfull ids and classnames
|
2013-06-14 17:37:44 +10:00 |
|
Rohan Mitchell
|
f91e1144e0
|
Name blank order cycle option
|
2013-06-04 11:11:13 +10:00 |
|
Rohan Mitchell
|
661ce4e597
|
Add to cart page does not allow the user to add a product from an order cycle that cannot supply the cart's products
|
2013-06-04 10:26:13 +10:00 |
|
Rohan Mitchell
|
cb703c2a66
|
Do not give order cycle choice when there is only one option
|
2013-05-28 16:35:39 +10:00 |
|
Rohan Mitchell
|
1f9f5efb79
|
Add first product to cart with order cycle choice
|
2013-05-28 14:06:52 +10:00 |
|
Rohan Mitchell
|
0e08829a29
|
Rename DistributorChangeValidator to DistributionChangeValidator in preparation for expansion to include order cycles
|
2013-05-28 12:32:52 +10:00 |
|
Rohan Mitchell
|
796be2ee6d
|
Refactor add to cart form into partials and helpers
|
2013-05-27 11:25:09 +10:00 |
|
David Cook
|
423bd52fd6
|
rename _count vars to _total
|
2013-05-22 14:03:51 +10:00 |
|
vagrant
|
4e7f966429
|
add suppliers scope, limit by 5, test
|
2013-05-22 13:07:30 +10:00 |
|
Rohan Mitchell
|
f17907e06f
|
Style local organics product details distributor heading
|
2013-04-26 09:56:16 +10:00 |
|
Rohan Mitchell
|
ff9200ebb8
|
Display order cycle distributors on product details page
|
2013-04-12 13:18:40 +10:00 |
|
Rohan Mitchell
|
7cc24f7340
|
Handle the case where we're viewing a product from a remote distributor that we can change to
|
2013-04-05 10:28:08 +11:00 |
|
Rob H
|
f7890bd94d
|
Fixes following code review for checkout changes
|
2013-01-18 19:17:55 +11:00 |
|
Rob H
|
6a45e8be3b
|
Make tests pass after changes to checkout broke them all
|
2013-01-18 15:29:36 +11:00 |
|
Rob H
|
1f8b4d185b
|
Rearrange 'Add To Cart' section of product page
|
2012-12-14 14:01:13 +11:00 |
|
Rob H
|
c7ac0f7d91
|
Allow distributor to be changed from product page
|
2012-12-14 11:57:34 +11:00 |
|
Rob H
|
8a37b4e918
|
Push validation logic for changing distributor down into lib class
|
2012-12-14 11:02:01 +11:00 |
|
Rob H
|
46abc2fc42
|
Add ability to change distributor based on whether products in the cart are available
|
2012-12-07 11:56:40 +11:00 |
|
Rob H
|
ef22168349
|
Move select_distributor and deselect_distributor actions from enterprises controller to orders controller
|
2012-11-28 10:54:11 +11:00 |
|
Rohan Mitchell
|
6d84cf7613
|
Merge branch 'master' into enterprises
Conflicts:
app/controllers/enterprises_controller.rb
app/views/spree/checkout/_distributor.html.haml
db/schema.rb
spec/lib/open_food_web/group_buy_report_spec.rb
|
2012-11-01 11:02:02 +11:00 |
|
Rohan Mitchell
|
682c09f516
|
Remove use of old Distributor model, fix before all not cleaning db
|
2012-11-01 10:05:39 +11:00 |
|
Rohan Mitchell
|
9d5c127f0d
|
Add enterprises controller that supercedes suppliers and distributors controllers. Add to cart consumer spec passes.
|
2012-10-31 16:47:01 +11:00 |
|
Rohan Mitchell
|
c5941d6cb5
|
Update distributor details when distributor is changed
|
2012-10-27 18:50:09 +11:00 |
|
Rohan Mitchell
|
773adca838
|
Display distributor details on product page when distributor is selected
|
2012-10-27 12:49:57 +11:00 |
|
Rohan Mitchell
|
15e91f7743
|
WIP Move non-admin non-Spree controllers out of Spree namespace
|
2012-10-25 10:45:39 +11:00 |
|
Rohan Mitchell
|
c46019d68c
|
WIP: Move Supplier, Distributor, DistributorSet and ProductDistribution models out of Spree namespace
|
2012-10-25 10:45:39 +11:00 |
|
Rohan Mitchell
|
36d342f216
|
Add view all suppliers page
|
2012-10-17 07:50:58 +11:00 |
|
Rohan Mitchell
|
d09123eb22
|
Do not show suppliers with no products in stock
|
2012-10-17 07:36:18 +11:00 |
|
Rohan Mitchell
|
a686a820d9
|
Add distributor show page, redirect here after selecting distributor
|
2012-10-11 10:50:36 +11:00 |
|
Rohan Mitchell
|
b87c59c051
|
Default to blank distributor on add to cart to require user to select one
|
2012-09-13 15:29:04 +10:00 |
|
Rohan Mitchell
|
9d33ef460c
|
Max quantity field doesn't affect JS price calcs on products without variants
|
2012-08-04 16:51:43 +10:00 |
|
Rohan Mitchell
|
40544eb27b
|
Adding a product to cart that is not a group buy does not show max quantity field
|
2012-08-02 15:16:44 +10:00 |
|
Rohan Mitchell
|
c46613877c
|
Add max quantity field to add to cart form, add end-to-end test for max_quantity
|
2012-08-02 14:45:55 +10:00 |
|
Rohan Mitchell
|
86847d99da
|
Make Leave Distributor link more intuitive
|
2012-07-01 11:33:40 +10:00 |
|
Rohan Mitchell
|
34b694666c
|
Grey out inactive distributors
|
2012-06-26 08:24:32 +10:00 |
|
Rohan Mitchell
|
0662e8f676
|
Show links to distributor home page, particularly when viewing product not available at current distributor
|
2012-06-26 08:12:35 +10:00 |
|
Rohan Mitchell
|
9258d47e55
|
When adding subsequent products, add valid products to cart
|
2012-06-26 07:52:45 +10:00 |
|