Skip to content

better-together-solutions/solidus_marketplace

 
 

Repository files navigation

SolidusMarketplace

NOTE: This gem is currently a work-in-progress.

Contributors are welcome to help us get this gem to a viable MVP.

Fork Purpose

This fork is intended to update this extension for use with Rails 7 and Solidus 4.1

Overview

This is marketplace implementation for solidus.

Basic functionality:

  • Links products to one or more suppliers
  • Once an order is placed:
    • A shipment is created for the product's supplier
    • The shipment is then sent to the store owner for fulfillment and to the supplier for visibility (via Email by default).
    • The store owner fulfills orders. The supplier can view their shipments (read-only for now).

Installation

Add this line to your application's Gemfile:

gem 'solidus_marketplace', github: 'better-together-solutions/solidus_marketplace'

Then run the following:

$ bundle install
$ bundle exec rails g solidus_marketplace:install

(Optional) If you want to be able to see the reports, please add this line to your Gemfile:

gem 'solidus_reports', github: 'solidusio-contrib/solidus_reports'

(Optional) If you want to use Stripe or other payment providers, please add this line to your Gemfile:

gem 'solidus_gateway'

and run

rails g solidus_gateway:install

Sample Data

If you'd like to generate sample data, use the included rake tasks:

rake db:seed                         # Loads seed data into the store
rake spree_sample:load               # Loads sample data into the store
rake spree_sample:suppliers          # Create sample suppliers and randomly link to products
rake spree_sample:marketplace_orders # Create sample marketplace orders

This will include a new role (supplier_admin) and 2 new users in addition to the default [email protected] user provided by solidus.

Those users have the following email/password/roles

Testing

Run the following to automatically build a dummy app and run the tests:

$ bundle exec rake

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/solidusio-contrib/solidus_abandoned_carts.

License

The gem is available as open source under the terms of the MIT License.

About

Marketplace functionality for Solidus.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 62.6%
  • HTML 23.2%
  • SCSS 9.0%
  • JavaScript 4.7%
  • Other 0.5%