Great work! I was wondering if it is possible to create multi-vendor websites using Mercur as well. Something like: each vendor will have its own storefront. Thanks a lot!
This is very good. I have followed your guide and manage to successfully run the setup, created vendors and added som products then on frontend I was also able to place orders. The main problem I am facing is that when i try to place a order it creates two orders one goes to admin and one goes to vendor and it also shows separate orders in the user dashboard which shouldn't be happening any solution for this?
Did you create orders using seeded products? The products from seed are not associated with the stores (vendors). Try creating a new vendor and new products from the vendor panel, then use them in the cart. I hope this helps!
I was able to resolve the cors issues by removing .env.local file, changing middlewares.ts:16 to middlewares: [cors(adminCors)], and putting `ADMIN_CORS="localhost:7001,localhost:7002"` at .env file
I tried implementing it Mercur Marketplace by following their documentation getting error on yarn seed cmd - Error - [@mercurjs/vendor-ui] Could not find the admin UI build files. Please run "medusa-admin build" or enable "autoRebuild" in the plugin options to build the admin UI. Any idea on why I am getting this error? Or am I missing anything?