Answer the question
In order to leave comments, you need to log in
Question about multistore?
Hello.
I have an online store module for one engine, they asked me to modify it to a multi-store, so that there would be many sellers and payment + notifications were sent not to the admin panel, but to the seller of the goods.
There was such a problem:
Now, when placing an order, a record is created in the database and notifications are sent to the admin.
The user who made the order and the admin have access to the order page. Admin can change order status.
For a multistore, I wanted to add another seller_id field and give access to the order page by seller_id, but the following question arose:
What if the user added 2 or more products to the cart, which have different sellers?
The problem is with access to the order page, how to give access to several sellers and what to do with order statuses? those. one seller sent the package, changed the status to Dispatched, and the other has not yet.
How is this problem solved in other online stores? aliexpress type
Answer the question
In order to leave comments, you need to log in
On ali, each seller sends the goods to you separately.
Your order is nothing more than a logical grouping of individual orders from different sellers. Those. you just need to create separate orders by the number of sellers, and change the status for each separately. And perhaps, in addition, one entity "metaorder" where there will be no status at all, and which will be used only for grouping.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question