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.
Using Composer
Below we are going to describe how you can install the Bagisto by using the composer.
Configuration
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.
composer install
Setting .env Variables
Once the process has been executed, open the .env file using editors and set your .env variable, especially the ones below:
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 in the environment variables such as below :
Application Name
Here you need to provide the name for your application or your eCommerce store.
Default URL
Default Currency
Choose the default currency for your store
Default TimeZone
You can choose the default timezone for successful installation
Default Locale
Here you need to choose the default locale for your store
After that, click on the 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 :
Choose the Database Connection that you will be using in the Database Connection.
Database Hostname
Provide database hostname to connect your site to your database.
Database Port
Here you need to provide the port number of the database that you will use.
Database Name
Provide the name of the database that you have created for the store.
Database Prefix
You can enter the database prefix here.
Username
The database server username will be provided here.
Password
Here you also need to provide the password for the database server.
After that, click on the Save & Continue button for successful installation.
Now click on the Start Installation button to create the database tables and publish the vendor files.
Next, you will need to click on the Continue Button for successful migration and also for loading test data in the tables.
Now, you will need to provide Admin Details for your eCommerce store.
Last but not least, the admin needs to set up their email configuration as shown in the below snapshot.
After that click on the Save Configuration button for successful installation of the Bagisto Store.
At last, the installation has been over and you will be redirected to the Homepage or front of bagisto.
Conclusion
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 physical store.
In addition to this Laravel eCommerce-Bagisto offers a complete SaaS-based ecommerce solution by which anyone can start and grow their online eCommerce business.
The best thing about the laravel eCommerce website is the simplicity and also the customizable structure by which you can easily customize the bagisto eCommerce Framework.
Also, the admin can improve the accessibility of their Bagisto store by using its Flutter-based Mobile App.
Moreover, the framework has been developed by Webkul(Laravel Development Company), which is also the leader in creating e-commerce extensions and plugins for the past 14 years.
Saurav drives product innovation and strategic sales growth, specializing in eCommerce solutions. Focused on delivering results, Saurav enhances digital commerce experiences, ensuring seamless scalability and efficiency for businesses across diverse industries.
OS:
Windows 7 or above with WAMP/XAMPP environment
Compatible with macOS
Ubuntu 16.04 LTS or higher
SERVER: Apache 2 or NGINX
RAM: 3 GB or higher
PHP: 7.3.0 or higher
Processor: Clock Cycle 1 Ghz or higher
For MySQL users: 5.7.23 or higher
For MariaDB users: 10.2.7 or higher
Node: 8.11.3 LTS or higher
Composer: 1.6.5 or higher
php7.1-intl extension
php7.1-gd extension
Hello
Please guide me two thing
1 – if any case I am run composer update commands then my all changes remove or not (packages\Webkul\Admin\src\Resources\views\catalog\products.index.php)
2 – Best way how can override the model, controller, view, and others, etc .
thanks
Hello,
if any case i have run composer update command and then my all packages\Webkul\Admin\src\Resources\views\catalog\products
changes remove or not?
Hey, I have few queries to ask;
1- If we change the UI, then upon composer update command, do we need to make changes again? or Our changes will stay there?
Hello Sir,
You don’t need to run the composer update command.
After making the changes in Ui run the following commands:-
composer dump:autoload
php artisan vendor:publish.
Thanks.
Hey, I have few queries to ask;
1- If we change the UI, then upon composer update command, do we need to make changes again? or Our changes will stay there?
Hello Sir,
You don’t need to run the composer update command.
After making the changes in Ui run the following commands:-
composer dump:autoload
php artisan vendor:publish.
Thanks.
Please check the below link to override controller, model and view.
Controller:-https://forums.bagisto.com/topic/320/how-to-override-your-webkul-controllers-repository-and-classes/2
Hello, thanks very much for this awesome project.
i browsed the dashboard on live demo and i found that there is an arabic style and when i install it on my own host i didn’t found it.
Sir, you need to create your own product and categories, and that’s really very easy and you can check the listing on the frontend. Also, you can check the demo once you upload your data you will find the same listing at the frontend.
Thanks
Yes, you can integrate other modules such as chat functionality with Bagisto as well. Recommend you to create a separate package for any third-party module you integrate. You can take help of our devdocs for package development here: https://devdocs.bagisto.com/create_package.html#how-to-create-package
Your requirements could not be resolved to an installable set of packages.
Problem 1
– The requested PHP extension ext-intl * is missing from your system. Install or enable PHP’s intl extension.
that’s problem is removing,plz help me.
Nice blog. I have learn a lot from your blog how to become a laravel ecommerce developer. I am looking for the same blog from so long time and finally i get. Thanks for sharing and keep sharing this type of information.
Sure, sir, we will be happy to help you.
You can join us on skype here https://join.skype.com/invite/PcxhAmHq0o7C, else you can directly raise the ticket at https://bagisto.uvdesk.com/en/.
Please feel free to contact us.
Please follow this respective blog link https://bagisto.com/en/how-to-edit-home-page-design-in-bagisto/ by following this you can change the home page design/frontend of Bagisto.
I enter the administrator email [email protected] and the password admin123 but it tells me that the credentials with incorrect, as the password is hashed, I can not see it. It has been modified?
Please check this once: https://forums.bagisto.com/topic/545/how-to-change-your-admin-password-from-the-backend-when-you-can-t-recover-or-smtp-is-not-configured
I enter the administrator email [email protected] and the password admin123 but it tells me that the credentials with incorrect, as the password is hashed, I can not see it. It has been modified?
Hi, I am new to laravel. I found this is very helpful. But I can’t find routeing , controllers and models. Could you please let me know where these are located.
Except for the home page, all other pages are throwing 404. I am using Nginx, php 7.2. and created a virtual domain and pointed it to the public directory of the framework. Only home page is working.
I request you to please raise a ticket regarding this here https://bagisto.uvdesk.com/en/customer/create-ticket/ and do provide SSH details also so we can check. More specifically, we need to check the Nginx configuration so if possible root access can be provided, would be better.
Hi,
I download the files using composer and check the composer.json file, In it the basic requirements are
“php”: “^7.1.3”,
“laravel/framework”: “5.6.*”,
its looks like old, and in the documentation you said PHP: 7.2 or higher any updates is pending?
I check the migration files, its contains only the basic files.
I don’t get any code from web.php and api.php
I tried to run php artisan migrate and this happened:
Illuminate\Database\QueryException ?[49;22m : ?[33mSQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to
your MariaDB server version for the right syntax to use near ‘json null, `created_at` timestamp null, `updated_at` timestamp null) default cha’ at line 1 ……
Please update the MariaDB version, for bagisto, it should be 10.2 or higher. Update the version from below link and do let us know if you face any other issue. MariaDB version update link– https://stackoverflow.com/questions/44027926/update-xampp-from-maria-db-10-1-to-10-2
I install zip package and did exactly like the installation guide, but after serving it gives error “Class Webkul\Core\Repositories\SliderRepository does not exist”
Generating autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run “.\vendor\bin\upgrade-carbon” to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Is mandatory to update Carbon? Or can I continue this way?
We are working on this issue, will soon update the same. Kindly follow up on Facebook group for all the latest updates here: https://www.facebook.com/groups/bagisto/
I’m trying to run this command: php artisan db:seed
When i execute it showing following error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘bagisto.channels’ doesn’t exist (SQL: select * from `channels` where `hostname` in (127.0.0.1:8000, http://127.0.0.1:8000, https://127.0.0.1:8000))
I’m trying to install Bagisto manually because UI installation stops on step Migration & Seed without showing errors.
When I execute command “php artisan migrate” the process stop with this error: In Concord.php line 265: Class ‘Webkul\Discount\Models\CatalogRuleProductsPriceProxy’ not found.
I suppose it is the error that is stopping the UI installation UI.
Go to the file location where there is a discount model(packages/Webkul/Discount/src/Models/CatalogRulesProductsPriceProxy.php) in your bagisto folder that you might have, and just rename the file name from ‘CatalogRulesProductsPriceProxy.php’ to ‘CatalogRuleProductsPriceProxy.php’
Thanks for answering so fast!! The problem was solved with that correction, but then something similar happened with another class: ‘Webkul \ Discount \ Models \ CartRuleLabelsProxy’. I did the same and continued the migration. Many thanks!
Complete eCommerce Solution
Great article….!!!Nice to know about new
things with helping concept. I am almost brand new to blogging and really like
your post, it is really on target! Thanks for all of your time & work. Hope
you always write this blog.
i’m installing Bagisto version 0.1.0 on the server, but i have a problem.
my server using apache2, ubuntu 14.04, and when i run phpinfo show that php version is php7.0.
the problem is when i run http://your-host/folder-name/public/ :
This page isn’t working.
and when i look into lavavel error log, show :
syntax error, unexpected const (T_CONST), expecting variable (T_VARIABLE) {“exception”:”[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): syntax error, unexpected const (T_CONST), expecting variable (T_VARIABLE) at /var/www/html/qupe-old/vendor/symfony/http-foundation/HeaderUtils.php:21)
Exception thrown without a stack frame {“exception”:”[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 16): Exception thrown without a stack frame at Unknown:0)
At first, Bagisto requires PHP 7.1.7 or higher, please check this out for the minimum requirements: https://bagisto.com/en/download/ Try upgrading your PHP version and check. If you still got the issue, you can raise ticket at https://bagisto.uvdesk.com/en/
I am just recommending you to start with the using the minimum requirements as needed for bagisto, then if the same error comes again, will let you know the alternative because usually, this error does not come.
i have other project in the server, because the reason i can’t upgrade to php7.1
saurav pathak (Moderator)5 years ago
I just checked on this, it’s because of the version. I recommend you to update the PHP version to use bagisto.
Rendi 5 years ago
thanks for the answer, i try to upgrade php version
saurav pathak (Moderator)5 years ago
Great, did it resolved the issue at your end?
Ishak 6 years ago
Hello me too i got this error :
Notice: Undefined index: DB_HOST in C:\wamp64\www\bagisto\public\installer\install.php on line 36
Undefined index: DB_USERNAME in C:\wamp64\www\bagisto\public\installer\install.php on line 37
Undefined index: DB_PASSWORD in C:\wamp64\www\bagisto\public\installer\install.php on line 38
The issue as pointed by you has now been resolved. Please download the package from here and try installing via GUI Installer: https://github.com/bagisto/bagisto/tree/master
This is, however, the master branch and testing are being performed. You can check if you want otherwise can wait for the official release which would be coming soon by next week. You can also check your .env file for the database credentials that you have provided.
I resolved the issue changing the EOF method (from Unix to Windows) in the .env file. Even though I am using Windows, the file was coded as an Unix file when installed using composer.
May I know to which issue are you referring to. FYI, we have released the new version in which we have resolved installation bugs of the last release. Please download from here: https://bagisto.com/en/download/
adebayo dayo 5 years ago
you can just download again from github, i advice that you should download the zip folder…
Adli 6 years ago
Hello I got this error.
Notice: Undefined index: DB_HOST in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 36
Notice: Undefined index: DB_USERNAME in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 37
Notice: Undefined index: DB_PASSWORD in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 38
Notice: Undefined index: DB_DATABASE in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 39
Notice: Undefined index: DB_CONNECTION in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 40
Notice: Undefined index: DB_PORT in D:\Project\Laravel\Toko\bagisto\public\installer\install.php on line 41
Please check the .env file regarding the information you have provided for the database connection again. Let me know if you come across any further issues.
i got this error during migration
2 PDOException::(“SQLSTATE[HY000]: General error: 1025 Error on rename of ‘.
\bagisto\attribute_group_mappings’ to ‘.\bagisto\#sql2-d3c-60’ (errno: 168 – Unk
nown (generic) error from engine)”)
Here you need to enable the PDO and PDO_MYSQL extensions in your php.ini file or install it. You can also try to run this command sudo apt-get install pdo-mysql php5-mysql according to the PHP version that you are using.
am getting this error
1 Doctrine\DBAL\Driver\PDOException::(“SQLSTATE[42S02]: Base table or view n
ot found: 1146 Table ‘bagisto.categories’ doesn’t exist”)
Hi I am facing problem while migrating.It throw below error,
“Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘json null, `created_at` timestamp null, `updated_at` timestamp null)”
Hi John, I request you kindly install a new bagisto instance from here https://github.com/bagisto/bagisto/tree/master or you can wait for the few days. We are going to release the new version of Bagisto in which few of the windows installation issues has been resolved.
i have tried but im unable to open gui
could you provide any remote desktop support.
please answer asap. i need to implement the project very urgently.
i have tried but im unable to open gui and front end of bagisto
could you provide any remote desktop support.
please answer asap. i need to implement the project very urgently.
Please download the new version of bagisto from here https://bagisto.com/en/download/ and also do not forget to update the MariaDB version if using on Windows.
Installing on a macbook with Mysql installed by brew. Brew by default actually installs MariaDB which does not support JSON fields. Migrations where failing. I changed json fields to text to allow migrate. Might want to consider changing the JSON fields to text for wider adoption. I don’t believe there is any performance lost.
Hi Rob, I request you to kindly use the updated version of MariaDB which should be 10.2.7 or Higher for Bagisto that can support JSON fields. For more info, you can visit here: https://mariadb.com/kb/en/library/json-data-type/
am getting this error
1 Doctrine\DBAL\Driver\PDOException::(“SQLSTATE[42S02]: Base table or view n
ot found: 1146 Table ‘bagisto.categories’ doesn’t exist”)
2022_10_28_201144_add_columns_in_product_flat_table ………………………………………………………………………… 81ms FAIL
In Connection.php line 793:
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘products.type’ in ‘field list’ (Connection: mysql, SQL: update `bagi_product_flat` inner join `bagi_products` on `bagi_product_flat`.`product_id` = `bagi_products`.`id` set `bagi_product_flat`.`type` = products.type, `bagi_product_flat`.`attribute_family_id` = products.attribute_famil
y_id)
In Connection.php line 599:
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘products.type’ in ‘field list’
How do I fix that? Thanks