These are chat archives for mirumee/saleor

9th
Jan 2019
Ehsan
@ehsanveisi_gitlab
Jan 09 10:36
Hello there, I'm trying to implement some sort of marketplace, what I need is to have a list of stores, which each will be almost a regular store, and I also need the customers to be shared between different stores. Is this possible with Saleor and some sort of django tenancy? Where should I get started on that?
Ehsan
@ehsanveisi_gitlab
Jan 09 11:41
@saleor217 I want to use Saleor since it has lots of stuff I want out of the box.
saleor217
@saleor217
Jan 09 11:43
so, you may have to do customization related to it. may be huge (based on what type of marketplace you want)
Ehsan
@ehsanveisi_gitlab
Jan 09 11:44
@saleor217 yeah I lead a hard life.
I just need clues.
saleor217
@saleor217
Jan 09 11:47
for clues "have you cleared with your marketplace defination first?"
Ehsan
@ehsanveisi_gitlab
Jan 09 11:48
@saleor217 well, I already said the basic thing I want.
stores with shared users. and an super admin panel
saleor217
@saleor217
Jan 09 11:50
shared user's means vendor or simply they can add products too (or some permission based restricted users(may be staff user))
Ehsan
@ehsanveisi_gitlab
Jan 09 11:51
users I mean customers.
saleor217
@saleor217
Jan 09 11:54
ok, so your concept will be as like, there are different different shops are there
each shop will be accessed by differnt store url [domain] , like one store will be access from shopdeal.com , second one shopdeal2.com
and your superadmin can access all the shops from dashboard.
Ehsan
@ehsanveisi_gitlab
Jan 09 11:55
@saleor217 no, no different domains. I want all under one domain. one main domain without even sub domains.
saleor217
@saleor217
Jan 09 11:55
and one shop reg. user can acess all the shops.
Ehsan
@ehsanveisi_gitlab
Jan 09 11:56
yeah that part is true.
saleor217
@saleor217
Jan 09 11:59
so, how you want to differentiate that each shops you created
Ehsan
@ehsanveisi_gitlab
Jan 09 11:59
@saleor217 I don't understand what you mean.
saleor217
@saleor217
Jan 09 11:59
suppose , you create one shop for garments
2nd one for grocery
Ehsan
@ehsanveisi_gitlab
Jan 09 11:59
ok
go on
saleor217
@saleor217
Jan 09 12:00
@ehsanveisi_gitlab so, how your each user's visit your other shops
Ehsan
@ehsanveisi_gitlab
Jan 09 12:01
@saleor217 I need to create a front page containing list of all stores as well as search feature.
saleor217
@saleor217
Jan 09 12:02
so basically by shop , you want to differentiate different goods and according to shop you will display user a goods.
is it okay?
Ehsan
@ehsanveisi_gitlab
Jan 09 12:03
yeah I think. The shops represent real world stores.
@saleor217 so any ideas?:/
saleor217
@saleor217
Jan 09 12:06
like each one have different front -end designs & products
Ehsan
@ehsanveisi_gitlab
Jan 09 12:07
products yes. but not the design.
Some stores might have same products as well.
saleor217
@saleor217
Jan 09 12:09
in your requirement all the shops managed by one single dashboard or each shop have different dashboard.
Ehsan
@ehsanveisi_gitlab
Jan 09 12:10
both. each have their different ones and there's one super admin dashboard.
saleor217
@saleor217
Jan 09 12:11
if i m not wrong you have to associate shop name or shop id with your product and for dashboard purpose you must have determine order is coming from this shop.
Ehsan
@ehsanveisi_gitlab
Jan 09 12:25
yeah that's not what I'm asking about though. I'm not sure if it'll be needed to assosiate shop_id with the product at all using multi tenancy.
I'm asking here where to start doing the modification.
Ehsan
@ehsanveisi_gitlab
Jan 09 12:31
@patrys here: mirumee/saleor#1912 mentions that "You should be able to use PostgreSQL schemas but this means that no information will be shared between the stores." Is there any work around for this so I can have the super admin I mentioned as well as shared registered customers?
Ehsan
@ehsanveisi_gitlab
Jan 09 12:42
@maarcingebala and @pacu2 also participated in this issue but not much clear to me yet what direction I can take.
This issue I mean: mirumee/saleor#3252
Ehsan
@ehsanveisi_gitlab
Jan 09 13:33
Or maybe I'm doing it all wrong and there's a better approach. integerating users with a different app maybe is the key.