This is a lightweight spree multi vendor marketplace extension. It's a great starting point if you're building a marketplace on top of Spree.
You can create and manage Vendors who can manage on their own:
- Products
- Option Types
- Properties
- Stock Locations
- Shipping Methods
- Vendor profile
- Vendors can manage Orders
- UI for Super Admin to assign Users to Vendors
Contributions welcome! :)
-
Add this extension to your Gemfile with this line:
gem 'spree_multi_vendor', github: 'spree-contrib/spree_multi_vendor'
-
Install the gem using Bundler:
bundle install
-
Copy & run migrations
bundle exec rails g spree_multi_vendor:install
-
Restart your server
If your server was running, restart it so that it can find the assets properly.
-
Optionally you can also create sample Vendor by running:
bundle exec rake spree_multi_vendor:sample:create
-
Fetch new database migrations:
bundle exec rake railties:install:migrations FROM=spree_multi_vendor -
Run migrations
bundle exec rails db:migrate
First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
bundle
bundle exec rakeWhen testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_multi_vendor/factories'If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.
Spree Multi Vendor is copyright © 2017-2018 Spark Solutions Sp. z o.o.. It is free software, and may be redistributed under the terms specified in the LICENCE file.
Spree Vendors is maintained by Spark Solutions Sp. z o.o.
We are passionate about open source software. We are available for hire.
