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
The super admin can view the products list of their merchant’s store
Super admin will get the email notification whenever a customer orders a product from his merchant’s store
The super admin can also view the customer data of their merchant’s store
Manage multiple businesses with custom domains or self-provided domains
Super admin can also view the orders of their merchant’s store
The Merchant can Change the domain from channel settings
The Merchant manage their own store using their own dedicated admin dashboard
Supported the Bagisto Velocity theme
Supported all product types of Bagisto Framework including Simple, Downloadable, Grouped, Bundle, Configurable, Virtual, and Booking.
Every merchant will also receive the mail whenever a customer will order from his store
High security in a session
Easy Updates of Laravel Multi-Tenant SaaS
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’
Once you run the command “php artisan SAAS:install” then you have to enter your super admin credentials like email id and password
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.
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, the 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 Attributes:- No of attributes of tenant
Mapped Domain:- Domain of that company
No of Customer Group:- Number of customer group of the tenant
No of Customers:- No of customer registered on 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
The super admin can see all the customer list of their tenants as shown in the below image
The super admin can also see all the product list of their tenants as shown in the below image
By navigating to Tenants>Tenant’s Order super admin can see all the orders of their tenants as shown in the below image
By navigating to the Settings>Super Agents the super admin can see the agent list.
As you can see under the action section two settings are there where you can edit or delete the particular agent by hitting the selected icon
By hitting the add agent button super admin can add the agent by providing the below information.
First Name: Enter the first name
Last Name: Enter the last name
Email: Enter the email id
Password: Set the password
Status: Select the status
Now the super admin can add the locale by click on Setting>>Super Locales>>Add Locale
Code: Enter the code
Name: Enter the name
Director: Choose the direction
After that click on the Save Locale button
Click on Setting>>Super Currencies>>Add Currency
Click on Setting>>Super Currencies>>Add Currency
Code: Enter the code
Name: Enter the name
Currency Symbol: Add the Currency Symbol
Currency Exchange Rate
Here You can find the currency exchange rate list as shown in the below image.
Super admin can easily edit/delete the currency
Adding Exchange Rate
Here super admin can add the exchange rate.Click on Setting>>Currency Exchange Rates>>Add Exchange Rate
Select Target Currency, enter rate click on Save Exchange Rate
Here the super admin can see all their super channel list.They can also edit his channel once they click on the pencil icon under the action section
By navigating to Settings>>Super Channels>>Super Channels List>>Edit Mode under the action filed, the super admin can edit the below settings.
Here super admin can find the Code,Name and Hostname of the channel
Currencies and Locales
The nextstep is to set your locales on a particular channel. Click on Setting>>Super Channels>>Super Channels List>>Edit Mode>>Locales(Select the locales(multi-select option))>>Save Channel
The super admin can also choose the default locale for the storefront.
Click on Setting>> open the selected channel in Edit Mode
Currency:- You can select or multi-select currency as per your choice.
Default Currency:- You have to set your default currency that will be applicable throughout your eCommerce ecosystem
Once the channel setting has been done click on Save Channel
Home Page Content : Under this section super admin can enter the content and image for their store front.
Footer Content: The super admin can also enter the footer content that will also reflect on the storefront.
Logo and Favicon
Add the logo and favicon image.
Home page SEO
Enter the Meta Title : Super meta title
Meta Keywords: Enter super meta keywords
Meta Description: Super meta description
By navigating to the Configure>Design super admin can add the Logo Image as you can see in the below image
Here super admin will find the Email Address of their Super Agent.
Under the content section super admin can add the footer text for their Landing Page.
Super Admin Landing Page
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.
Merchant Front end
Now successfully seller front end created like below
Merchant Admin Panel
The merchant 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.
That’s all for Laravel eCommerce Multi-Tenant SaaS Module, still, have any issue feel free to contact us.