spree_suppliers 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # Spree Suppliers Extension
2
2
 
3
- This is an extension to run on top of spree 0.60.3 rails ecommerce engine.
3
+ This is an extension to run on top of Spree 0.70.3 rails ecommerce engine.
4
4
 
5
- This extension provides functionality to use multiple suppliers/vendors, each selling their own products, but using a unified listing view so the customer is not affected by this and only makes one transaction. On the backend, smaller sub-orders called supplier invoices are created by grouping the products in an order by each product's supplier_id. A subtotal is generated for each supplier invoice, so the spree administrator can send out invoices to each supplier.
5
+ This gem (spree extension) provides support for multiple suppliers in one store, each selling their own products. Products should be assigned to the supplier that they belong to, which allows the customer to select a supplier and view only their products. Suppliers can be associated with Taxons, which allows the customer to search for supplier's products by taxon.
6
+
7
+ Orders are also broken up into individual supplier_invoices upon order completion (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place (though disabled until you add your email smtp credentials) to send each supplier their unique invoice describing what products they have sold and to whom. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).
6
8
 
7
9
  ______________________________
8
10
 
@@ -19,18 +21,20 @@ ______________________________
19
21
 
20
22
  - gem 'rails', '3.1.3'
21
23
  - gem 'sqlite3'
22
- - gem 'spree', '0.70.3'
24
+ - gem 'spree'
23
25
  - gem 'spree_suppliers'
24
26
 
25
- #### then run:
27
+ #### then run the following:
26
28
 
27
29
  - bundle install
28
- - rake spree:install
29
- - rake spree_suppliers:install
30
+ - rails g spree:site
31
+ - rails g spree_suppliers:install
30
32
  - rake db:migrate
31
33
  - rake db:seed
32
34
  - rake db:admin:create
33
35
 
36
+ - (If you would like some sample seed data for suppliers, copy the seeds.rb file and seeds folder from the gem to your project home db/)
37
+
34
38
  ### That's it for installation!
35
39
 
36
40
  - rails s
@@ -58,9 +62,10 @@ ______________________________
58
62
 
59
63
  Before being able to check out with the new changes, go to /admin and do the following things:
60
64
 
61
- 1. create a vendor (with valid address)
65
+ 1. create a supplier
66
+ 2. create a shipping method
62
67
  3. create a payment method (use "check" to test with)
63
- 6. add product for vendor to use - then edit to assign new product to the vendor
68
+ 6. add product for supplier to use - then edit product and assign to to the desired supplier
64
69
 
65
70
  Go through checkout process normally, then check orders page on the admin panel to view the details of an order and all supplier invoices that are created.
66
71
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Examples
5
5
  #
6
- "0.70.3" => { :branch => "0.70"}
7
- # "0.60.x" => { :branch => "0-60-stable" }
6
+ "0.70.3" => { :branch => "master"}
7
+ "0.60.4" => { :branch => "0-60" }
8
8
  # "0.40.x" => { :tag => "v1.0.0", :version => "1.0.0" }
9
9
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -2,9 +2,9 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_suppliers'
5
- s.version = '1.0.1'
5
+ s.version = '1.0.2'
6
6
  s.summary = 'This gem adds multiple suppliers to spree, with the ability to associate products with suppliers. Suppliers can be managed from the Admin interface.'
7
- s.description = 'This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).'
7
+ s.description = 'This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).'
8
8
 
9
9
  s.required_ruby_version = '>= 1.9.2'
10
10
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: spree_suppliers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: 1.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - JD Warren and Han Dao
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: "0"
35
35
  type: :development
36
36
  version_requirements: *id002
37
- description: This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).
37
+ description: This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).
38
38
  email: jd@isotope11.com
39
39
  executables: []
40
40
 
@@ -114,7 +114,6 @@ files:
114
114
  - db/migrate/20120201160616_create_suppliers_taxons.rb
115
115
  - db/migrate/20120201170705_add_supplier_id_to_products.rb
116
116
  - db/seeds.rb
117
- - db/seeds/images/apple.gif
118
117
  - db/seeds/images/apple.jpg
119
118
  - db/seeds/images/banana.jpg
120
119
  - db/seeds/images/blueberry.jpg
@@ -126,10 +125,8 @@ files:
126
125
  - db/seeds/images/grapes.jpg
127
126
  - db/seeds/images/greenapple.jpg
128
127
  - db/seeds/images/greenbeans.jpg
129
- - db/seeds/images/indie_candy.jpg
130
128
  - db/seeds/images/orange.jpg
131
129
  - db/seeds/images/squash.jpg
132
- - db/seeds/images/stock_user.jpg
133
130
  - db/seeds/images/strawberry.jpg
134
131
  - db/seeds/images/watermelon.jpg
135
132
  - lib/generators/spree_suppliers/install/install_generator.rb
Binary file