Laravel eCommerce Multi-Tenant SaaS Module:- Laravel eCommerce multi-tenant SaaS module is eCommerce virtual mall, where multiple-vendor can sign-up and create their own e-commerce store with their domain name.
Bagisto is an online e-commerce platform that helps anyone to start their e-commerce store within few minutes without any technical requirement.
The merchant doesn’t need to add any plugin to create their store, it is the full end to end integration. You have to just signup then you can start your business.
Feature of Laravel eCommerce Multi-tenant SaaS Module
Admin can easily set up and manage saas based eCommerce solution
Flexibility and scalability for your business
Multiple eCommerce merchants can access at a time
Manage multiple businesses with custom domains or self-provided domains
The Merchant can Change the domain from channel settings
The Merchant manage their own store using their own dedicated admin dashboard
High security in a session
Do not install bagisto till you configure this extension.
Do not seed your database at any point using ‘php artisan db: seed‘ (seeding is done automatically when the seller is registered)
Run the command from the root in terminal ‘composer create-project’
Find ‘.env’ file in theroot directory then changes the APP_URL parameter to your application’s domain name.
Add your database credentials in.env where params DB_DATABASE, DB_USERNAME, DB_PASSWORD should be added as of your own database credentials.
DB_DATABASE is the name of your database where all the tables will be created.
Installation of Laravel eCommerce Multi-Tenat SaaS Module
Customers will get a zip folder after purchasing the extension. After that, Unzip the respective extension zip and then merge the “package” folder into the project root directory.
Goto config/app.php file then add the following line under ‘providers’
php artisan vendor:publish"(Press0thenpress enter topublish all assets andconfigurations)
php artisan SAAS:install
Once you run the command “php artisan SAAS:install” then you have to enter your super admin credentials like email id and password
Once the SaaS module is successfully installed, you can open your super admin-panel(enter the example.com/super/login). Then the next page will be open like below then you have to enter your credentials then click on Sign in.
After successfully sign-in, super admin dashboard will be open like below. Super-admin can view all the company which is registered on their SaaS Panel.
Once you click on the eye-icon on any particular company then you can view company stats like below
No of Products:- No of product available on that company
No of Customers:- No of customer registered on that company
Domain:- Domain of that company
Once you have to click on the edit, then you can edit the company profile and activate or deactivate the company.
Name:- Super admin can change the name
Email:-Super admin can also change the email of seller
Domain:- Super admin can change the seller domain
Status:- Super admin can enable or disable this company
After that click on the save
There are three step to register on the SaaS module.
Step1:- Merchant has to enter the Authentication Credentials like email, password, confirm the password then click on Continue.
Step2:- Merchant has to enter the Personal details like First Name, Last Name, Phone number
Step3:- Merchant has to enter the Organization details like user name and Organization name.
Seller Front end
Now successfully seller front end created like below
Seller Admin Panel
The seller can enter their admin panel with the url like abc.test.com/admin/login like below. You will get the backend likewise bagisto.
In the SaaS module, Merchant can run their website on their own domain and they will get all benefits of the Custom domain. They will get benefit like below
Website will more flexible using own domain
Merchant can host their website where they want
No more hosting provider restrictions on your website
URLs and email addresses are entirely your own
Domain Mapping is the most important so that customers can access their portal through their custom domain. So let’s discuss a few technical components which are used for domain mapping.
DNS:- DNS stands for Domain name system. DNS is used to translating the IP address into a domain name, for example, if any can run “example.com” on their browser then the browser will perform DNS query against the DNS server.
So that the DNS server can take the hostname and resolve it to numeric Address so that the web browser can connect with the related IP address.
There is a component DNS Resolver which is used to checking the hostname is available or not in the local cache. Then return to the browser or application.
Let’s discuss on the few DNS Record
CNAME:- Cname is standing for Canonical Name. As every website have an IP address to connect the worldwide web. Where we need more than one domain on a single IP address, there Cname will be useful to map the multiple domains on a single IP address.
For example, If you have your domain shop.mydomain.com and you want to this domain point on your main domain(shop.com). Then you have to just replace the IP address of mydomain.com with shop.com so that your CNAME record will be created.
Wildcard:- With the help of Wildcard DNS record, we can match the request for the non-existence domain name. A Wildcard DNS record is identified by “*” asterisk. For example *.example.com.
That’s all for Laravel eCommerce Multi-Tenant SaaS Module, still, have any issue feel free to add a ticket and let us know your views to make the module better https://bagisto.uvdesk.com/en/