I am using nopCommerce 3.50. And trying to make it a multi storied. Every user signup here will have there specific e-commerce like nopCommerce.
Main features I have to focus is:
- Every user(store owner(1 store/user)) will have their own subdomain.
- user's will have full control on their store.
- They can change theme or configure any settings as an admin of NopCommerce can.
So what I am thinking to do is:
- Create a new project(mother project).
- Link One NopCommerce Solution with it.
- when a user signup there, they create a new database as nopcommerce.
- Name database uniquely for the user.
- store db name and all user info in mother project.
- When user sign's in, get the user db from mother db and set the path to nopCommerce Solutions db-path.
- when a user logs in, user is redirected to a subdomain.
- and loads the respective database for the user using same server-side and client-side code.
Is it possible or there is any other better way to do this?