Saleor: Multi-vendor support

Created on 3 Nov 2017  Â·  45Comments  Â·  Source: mirumee/saleor

Hello ,
I am very happy to say you that, saleor is very good option for small stores.
but i want some more features like multi vendor, multi sellers in single site. multiple sellers can sell the products in one site, As amazon, ebay.
Please try to develop these features in simple way, and easily anyone can understand.

Thank you..

Most helpful comment

how much money do you need to add multiple vendor functionality as quickly as possible?

All 45 comments

Thanks, @iamsushanth. It is possible that Saleor will eventually support multi-tenancy, as we already had a few questions about it, but we're not planning to implement this in the nearest future. As you said, multi-tenancy is kind of advanced feature, useful only in specific stores. Our aim is to cover the general cases in the first place and it should be discussed whether multi-tenancy is within the scope of Saleor.

At first thanks to provide us Saleor, @elwoodxblues saleor has any documentation about implement multi tenancy..?

@jgtorrejon No, currently we don't have a ready recipe on how to implement multi-tenancy, as we have never worked on that in Saleor.

@elwoodxblues thanks anyway.

Hello there I like Saleor a lot especially GDPR compliance & graphQL, it helped me a lot with my previous project.

I wanted to know, whats the status with the multi tenant/ multi-vendor option ? I want a storefront where I can add vendors who can sell on my site in the same way as Amazon or Ebay.

Hello @maarcingebala like @scroogeT mentioned it would really help if you could clarify us on the status of multi tenant/ multi-vendor option development.

+1 for multi-vendor. Would be great to get a status for the multivendor feature

Another +1 for multi-vendor. It would be a nice feature and it will give a better future for most of projects

+1 multi-vendor

Hi @maarcingebala You reopened this 13 days ago is there development on multitenancy

@AyoAlfonso not yet, but it's planned for this year. You will find it on the roadmap. This issue will track it.

Yes, I wanted to have it open in order to gather some feedback or have a discussion. I don't rule out a possibility to work on that this year. We just need a proper strategy on how to implement that in order to not complicate Saleor's codebase too much. At the moment nobody is working on that, as we're busy with the GraphQL API, Storefront 2.0 and Dashboard 2.0 yet.

Thanks for clarifying. @NyanKiyoshi @maarcingebala

FYI...
I'm working on a simple implementation of a marketplace (1 storefront / multi-vendor). It allows creating vendors in the dashboard. Each product can be then be linked to a vendor. A vendor has a commission (%), which is used to split the payment between the marketplace operator and the vendor. It also has a bank account number (IBAN) for the pay-out.
I'll also integrate MangoPay to do the pay-in in the app + payment splitting (through wallets) + pay-out (to the IBAN).
I'll do a PR as soon as I have something mature enough.

@maarcingebala some news?

Any update?

+1 for multi-vendor

@cgranetgithub

I'm working on a simple implementation of a marketplace (1 storefront / multi-vendor). . . .

Are you still working on this or have you had any communications with the Saleor team regarding when multi-vendor support will be officially added?

@JuliaBonita
No sorry, we are not working on it anymore. Our plans changed. Not sure when we will resume our work on marketplace...

+1 for multi-vendor

+1 for multi-vendor

+1 for multi-vendor

btw, has anybody come up with some sort of solution/workaround for this?

+1 for multi-vendor.

+1 for multi-vendor.

Sad to hear work has stopped on this.

Have anyone tried to fork the project and add multi-vendor?

Hello any update on the multi-vendor status?

+1 for multi-vendor ! any update on this ?

Hi, guys, Let's build this feature by ourself and send a pr.
We can create a github organization named as saleor-multi-vendor and work together.

Definitely,
Happy to help,
Best

On Wed, Jun 17, 2020 at 2:27 PM Mehmet Aydogdu notifications@github.com
wrote:

Hi, guys, Let's build this feature by ourself and send a pr.
We can create a github organization named as saleor-multi-vendor and work
together.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mirumee/saleor/issues/1251#issuecomment-645408221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABCDI2PKMK3WJKAQC2WHGDRXDHERANCNFSM4ECEVP7A
.

--
~
Nii Okai

Pre-requirements.

  • There isn't a latitude or longitude anywhere. Coordinates are required to calculate shipping cost. - We need to record all the product information to order_line to ensure seller send right product and be able to check product properties and photos recorded at checkout time.

Multi Vendor Plugin Implementation

Let's check a success plugin in ruby ecosystem and learn best practices. Spree Multi Vendor Plugin

Let's start with database.
ERD

We already know the Saleor feature set but database show what actually happening.

Defining the feature set for Vendors:

  • Which features are belong to the super admin?
  • Which features are belong to the vendor?

Methodology:

  • Using polymorphism.
  • Using vendor scope
  • Using vendor role

Pluses:

  • Current warehouse system:
    With current warehouse system our implementation will be more easy. Because each vendor will have at least one warehouse. So we don't need to modify all the application. We only to add some foreign keys to db and creating a little code as plugin.

A marketplace requirement at production:

  • Vendor data management in dashboard by super admin or vendor's own. Such as name, profile picture, company details, payout account, etc.
  • Stripe Connect as payment integration to control payments and refunds.
  • A product can be posted by several vendors. We can have same variants from different vendors. We need to be able to make price comparison and show other sellers price.

Technical equality of these requirements.

  • Stripe Connect gateway
  • State machine for payments
  • Vendor_Id as scope in products, variants, variant_photos, order_items, fulfillments
  • Custom logic described below.

Application logic:

General:

  • The vendor role will only have permissions to manage their orders and shippings.
  • All the order items, shippings, fulfillments must be grouped for each vendor in the order.
  • Vendor's fulfillments will be already done with current warehouse logic.
  • Buttons to change fulfillment status to move payment across buyer and seller.

Dashboard:

  • If a user have vendor role the controllers use the vendor_id to filter scope and only return vendor's data. Eg: Vendors will only see their orders and shippings.

Store Front

  • We must be able to use vendor_id as filter.
  • Product page must show the vendor's name.

So as you can see in spree plugin, this implementation can be done with less than 1000 line of code. I am Ruby on Rails expert, never tried Django before. But I am super impressed to use Saleor as marketplace. If anybody want to work on this feature, we can schedule our times. Thank you!

@fastengineer am interested in this feature.

So, multi-vendor means to me that saleor.io is capable of syncing/exporting/importing products and their available amount, right?
Or am I on the wrong issue where it's about multi-tenancy, meaning that you could have f.e. brand_one.my_saleor.com and brand_two.my_saleor.com both running on the same single instance of saleor.

@elmcrest Multi-vendor is about having one system where multiple independent sellers can manage their inventories, sell items and manage orders. Customers see and buy items from different sellers in one marketplace. Think eBay or Amazon.

Having multiple shops under different domains but managed from one dashboard is a different feature - we call it multi-channel, and it's something we're working on right now (see the roadmap - https://github.com/mirumee/saleor/projects/12#card-35616988).

Hi, I created a github organization to develop the plugin. It will be public project.
You can request invite to join from issues. https://github.com/Saleor-Multi-Vendor

@maarcingebala Is it possible for us to get access to a beta/dev version of this?

+1 for muti-vendor support. any update on this?

+1 multi-vendor support

how much money do you need to add multiple vendor functionality as quickly as possible?

+1 for multi-vendor support. If this gets added I will switch away from Shopify.

+1 This is will be really helpful, hope you guys can launch this in 2020 Q3.

Hello, Is there an update on the Multi-Vendor development?

I had to figure out how to build this for an app (using a headless shopify store). You just have to integrate with Stripe Connect as a payment gateway, specifically the multi-party payments allow you to fully control transactions that involve multiple parties.

They also have really good examples and documentation for setting things up (they integrate with Ruby, python, PHP, java, node, go, and .net). If I was familiar with saleor I could do it but I have built it for shopify instead. Someone who is familiar with saleor could build it without much trouble.

If I were attempting to do this, I'd leave Saleor as-is and write devops/CI tooling to provision an instance of Saleor per user/storefront. I think you can even use the same database instance with Django's Sites, or by changing the name of each Saleor instance's db. And now with multi-channel, the same instance of Saleor can support all of a given vendor's brands. Why put all vendors in the same instance?

In other words, I think Saleor's the wrong layer to implement this. What benefits would having it baked-in to Saleor provide? On the flip side, adding this feature would make Saleor more complex and difficult for we in the community to customize.

@elmcrest Multi-vendor is about having one system where multiple independent sellers can manage their inventories, sell items and manage orders. Customers see and buy items from different sellers in one marketplace. Think eBay or Amazon.

Having multiple shops under different domains but managed from one dashboard is a different feature - we call it multi-channel, and it's something we're working on right now (see the roadmap - https://github.com/mirumee/saleor/projects/12#card-35616988).

Hey, you've mentioned that the multi-channel feature will support multiple shops under different domains. Would it be possible to restrict some staff members permissions to manage products for a certain channel only? Is there some documentation about what will be actually possible with the multi-channel feature?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

8BitAce picture 8BitAce  Â·  4Comments

PiotrCzapla picture PiotrCzapla  Â·  3Comments

damianarechar picture damianarechar  Â·  3Comments

Pacu2 picture Pacu2  Â·  4Comments

mad-anne picture mad-anne  Â·  3Comments