Open herawais opened 6 months ago
Hi @herawais, thanks for your message. The issue you encountered is due to logging into the vendor panel with an admin account. You need to create a vendor account, log in with that, and then try to add a product. We need to prevent logging into the vendor panel with an admin account, as admins are not allowed to add products in this setup.
I assume you might have had a problem creating a vendor account. I realized there was a mistake in the README; there is no need to execute medusa migrations run as it interferes with executing yarn seed properly. Using yarn seed alone is sufficient. If you have already attempted this, please clean the database, execute yarn seed again, and then you will be able to create a vendor by POST to http://localhost:9000/vendor/users with the following credentials:
{ "email": "email@email.com", "password": "test123" }
With a vendor account, you will be able to add products.
Hi Mercur Team I am able to run the Vendor Admin Dashboard successfully however when i try to create a product, it is giving following error