Commit Graph

3834 Commits

Author SHA1 Message Date
Rohan Mitchell
178f581452 When an item has been added to the cart, do not allow the user to select a distributor when adding a subsequent item 2012-06-25 07:25:31 +10:00
Rohan Mitchell
24ad4f53fc Raise error if distributor changed illegally 2012-06-24 19:23:44 +10:00
Rohan Mitchell
a41c5d4735 Move distributor permissions onto order class, do not show links to change distributor if the action is invalid 2012-06-24 15:15:53 +10:00
Rohan Mitchell
b2f5e23fa4 Test selecting distributor when adding item to cart, for no/remote distributor selected 2012-06-24 11:41:10 +10:00
Rohan Mitchell
a91722a593 Display distributor choice on add to cart form 2012-06-24 11:28:06 +10:00
Rohan Mitchell
9be5dc41b9 Split products by local/remote distributor: style 2012-06-24 09:41:33 +10:00
Rohan Mitchell
34f95ffb4a Split products by local/remote distributor: apply to products, search results and taxon pages 2012-06-24 09:21:44 +10:00
Rohan Mitchell
32050bbba4 Split products by local/remote distributor: views and basic style 2012-06-24 07:37:25 +10:00
Rohan Mitchell
5e6c4de34b Leave a distributor 2012-06-23 12:33:38 +10:00
Rohan Mitchell
0c5162f9fb Move distributor lookup code into current_distributor helper 2012-06-22 11:48:39 +10:00
Rohan Mitchell
4911a06c9d Display current distributor in main nav bar 2012-06-22 11:46:40 +10:00
Rohan Mitchell
65d39e5867 Display supplier/distributor search results 2012-06-21 07:31:33 +10:00
Rohan Mitchell
b0a8645738 Display suppliers and distributors in sidebar 2012-06-20 17:44:11 +10:00
Rohan Mitchell
d656898ecb Disable filtering distributors using spree filters 2012-06-20 17:43:14 +10:00
Rohan Mitchell
f9d290f00d Show product supplier and distributors on product details page 2012-06-20 16:28:09 +10:00
Rohan Mitchell
a445216e6c Add test for filtering by distributor 2012-06-20 15:19:26 +10:00
Rohan Mitchell
9adfe58086 Display distributor filter as links instead of checkboxes, style in the same way as taxonomy selectors 2012-06-20 15:05:54 +10:00
Rohan Mitchell
1207062f7c Filter products by distributor 2012-06-20 14:20:07 +10:00
Rohan Mitchell
423ab26a1a Show product filters in sidebar on all pages 2012-06-20 14:15:58 +10:00
Rohan Mitchell
b89562823b Add distributors to admin product forms 2012-06-19 10:39:08 +10:00
Andrew Spinks
5088363c84 add supplier to product on admin views. 2012-04-29 18:35:14 +10:00
Andrew Spinks
c9effe5926 Add seperate address fields - don't become too attached to spree. 2012-04-29 17:31:47 +10:00
Andrew Spinks
e4fd20b807 Add default supplier view and relationship to address. 2012-04-29 16:32:38 +10:00
Andrew Spinks
7ea0f73398 begin adding suppliers 2012-04-22 14:51:24 +10:00
Andrew Spinks
4ad11c1faf delete and edit distributors 2012-04-22 13:01:56 +10:00
Andrew Spinks
48c6f4d7cc default states to current zone. 2012-04-22 12:10:35 +10:00
Andrew Spinks
088febfe7b dont barf on distributors without a country. 2012-04-09 10:37:35 +10:00
Andrew Spinks
2e9e441ba1 fix bug with states screwing up when using deface. 2012-04-09 10:31:47 +10:00
Andrew Spinks
7f5e0c406d Copy spree address partial so bug can be fixed. 2012-04-09 10:24:18 +10:00
Andrew Spinks
f7372a80c2 add distributor to checkout 2012-04-09 09:56:37 +10:00
Andrew Spinks
b2b8bd0112 add selector for distributor in checkout. Not saving relation as yet. 2012-04-07 16:34:27 +10:00
Andrew Spinks
3f1ed0ca06 make distributors work in spree admin framework. 2012-04-07 12:10:44 +10:00
Andrew Spinks
0a6852616d added distributors. 2012-03-31 19:16:57 +11:00
Andrew Spinks
b6ca20beee new rails 3.1.4 app 2012-03-27 10:10:26 +11:00