Building a Laravel eCommerce website requires a full understanding of the eCommerce ecosystem and also the right data workflows.
With that, there is the use of the framework that should be easy to code and should have wide community support also should be scalable.
Image Source : excellentwebworld
now. Read More
However, with the complexity involved in developing the eCommerce framework, rather than one should better use a combination of Open Source eCommerce Framework that is truly built on Laravel such as Bagisto.
Here I am going to show how you can easily set up your eCommerce Shop using the Bagisto Laravel eCommerce package.
Bagisto — Laravel eCommerce
Bagisto is an open Source eCommerce Framework built on the top of Laravel and alsoVue.js.
With the code-driven approach and also the fully customizable structure, you can easily add/change anything and can even deploy your code in the Bagisto framework and create your own laravel eCommerce website.
Now you can easily install Bagisto on Cloudways using the Cloudways Installation Guide
- OS: Ubuntu 16.04 LTS or Higher / Windows 7 or Higher (WAMP / XAMPP).
- Server: Apache 2 or NGINX
- RAM: 4 GB or higher.
- PHP: 7.4 or higher.
- Processor: Clock Cycle 1Ghz or higher.
- For MariaDB users – 10.2.7 or Higher.
- MySQL: 5.7.23 or higher.
- Node: 8.11.3 LTS or higher.
- Composer: 1.6.5 or higher.
Below we are going to describe how you can install the Bagisto by using the composer.
Follow the steps below to configure the Bagisto.
- Downloading Bagisto
Open the SSH terminal and go to the specified folder also run the command below to download the project onto your local machine or server
composer create-project bagisto/bagisto
Then go to the specific bagisto folder and configure database and email credentials in the .env file.
After this run the below command to install the Bagisto on the system.
php artisan bagisto:install
In case, the composer is not installed in your system, you can also run the composer commands, by downloading the composer.phar file and put it in the root directory, then run the command below.
php composer.phar create-project bagisto/bagisto
For a downloadable zip file
In case you have downloaded the zip file, get inside the directory bagisto-master, then run the below command.
- Setting .env Variables
Once the process has been executed, open the .env file using editors and set your .env variable, especially the ones below:
For a downloadable zip file
If you have downloaded the zip file, you will get the .env.example file. Just make a copy of that file as .env
cp .env.example .env
and also set all the .env variable as mentioned above. Once the variables have been set, generate the application key
php artisan key:generate
Run the commands below to continue the installation process
Execute below command to create a migration table in the database as defined in your .env file
php artisan migrate
Now the database will be seeded with default data using seed classes.
php artisan db:seed
With the command below, your configuration, assets (CSS, js, images, etc) and all necessary files will be copied to the specified publish location
php artisan vendor:publish -> Press 0 and then press enter to publish all assets and configurations.
You should create a symbolic link of storage directory with the public using the below command so that the images are publicly accessible.
php artisan storage:link
This is the end of the installation process.
You can also go through the video tutorial for the complete installation process.
after the successful installation, just need to click the public folder.
thus the front page of your website will pop up in front of you.
Accessing the Admin Panel
To access the admin panel of your shop, you can also follow the below URL
And use the following credentials
Using the GUI Installer
However, the new version also has been launched recently, the GUI Installer has been added, which has made the process of setting up your Bagisto eCommerce store much easier.
Thus follow the below steps to install Bagisto using GUI Installer.
After you have downloaded the Bagisto package and extracted that, go to the root directory of the Bagisto and also run the below command to install all the dependencies of Bagisto.
Once the dependencies have been installed, you need to click on the public folder as there in the directory.
The Bagisto installer will pop up in the next step where it will check for the minimum configuration as mentioned in the prerequisites. If everything is alright, click the Continue button.
In the next step, you need to fill the environment variables such as below :
Here you need to provide the name for your application or your eCommerce store.
Choose the default currency for your store
You can choose the default timezone for successful installation
Here you need to choose the default locale for your store
After that, click on Continue button for further configuration.
Apart from the above, you have to enter the more environment configuration as well, as shown in the below snapshot :
Provide the name for the database that you have created for the store.
You can enter the database prefix here.
The database server username will be provided here.
Here you also need to provide the password for the database server.
After that, click on Save & Continue button for successful installation.
Now click on Start Installation button to create the database tables and publishing the vendor files.
Next, you will need to click on Continue Button for successful migration and also for loading test data in the tables.
Now, you will be needed to provide Admin Details for your eCommerce store.
Last but not the least, admin needs to setup their email configuration as shown into the below snapshot.
After that click on Save Configuration button for successful installation of Bagisto Store.
At last installation has been over and you will be redirected to Homepage or Frontend of bagisto.
Above are the steps by which you can easily set up your Laravel eCommerce website in Bagisto and can also modify it as per your requirements.
New features are also added like the Multi-Vendor marketplace by which several sellers can register to sell their products in a single eCommerce store.
with the help of Bagisto POS, the user can easily manage the online as well as a physical store.
In addition to this Larave eCommerce-Bagisto own a complete SaaS-based ecommerce solution by which anyone can start and grow their online eCommerce business.
The best thing about laravel eCommerce website is the simplicity and also the customizable structure by which you can easily customize the bagisto eCommerce Framework.
Also admin can improve the accessibility of their Bagisto store by using its Flutter based Mobile App.
Moreover, the framework has been developed by the Webkul, which is also the leader for creating e-commerce extension and plugins for the past 10 years.
Along with POS, bagisto is also suitable for laravel mobile app
Let us also know about your feedback in the comments below and also if you are looking for any help regarding Bagisto Installation.