These are chat archives for mirumee/saleor

23rd
Jun 2018
Biswas B
@biswaz
Jun 23 2018 16:48
Hello all. First of all, I love what you've done with saleor. Thanks for this work, mirumee.
I was trying to make a site with merchant login where merchant can add products for selling. After verification they're made available to users.
Please point me in the correct direction for doing this:
() Adding products which is linked to a user (called merchant) without breaking all the other functionality
NyanKiyoshi
@NyanKiyoshi
Jun 23 2018 16:55
Saleor is not made for that but that would be quite simple to do the changes you ask.
You would need to add a merchant column on the product model and select products in dashboard (list, detail, forms) where merchant = current user
And save the merchant = current user on product creation