remember-me's avatar

how to design multi vendor ecommerce

How to build a multi-vendor store with laravel please help with both database and analytics and coding?

0 likes
3 replies
martinbean's avatar

@remember-me Are you wanting someone to do everything for you...?

You're asking a massively open-ended question. Try refining it a bit. It's like asking how to make Facebook, or Google...

1 like
remember-me's avatar

I mean, what kind of tables and relationships are needed to build such a system? I mean, because I didn't find anything on the Internet, for example, I have a table of products how to turn this into a multi-vendor or I can add an extra wallet. If you are interested in a particular tutorial or book, be sure to introduce it

1 like
surajjd's avatar
surajjd
Best Answer
Level 2

Sir this are the things you should be developing on first place. And if something goes wrong than your should ask here. Or you can ask some conceptual questions here. Back to yours question. Create model named store assignee to user with one to one or one to many relationship. And when user add product/ category / any other models. Than programmatically assign store relationship to it or add store_id fields in it. same goes with and only thing left is scoping resources with store_id.

Please or to participate in this conversation.