Install OpenCart on localhost

Install OpenCart on localhost

opencart latest version, OpenCart installation on localhost is quite easy. If you’re beginning with a store/website development using CMS, then I would suggest you to begin with installation on  localhost. It has some simple steps, which are shown below. First, we will learn about the software requirements to install OpenCart for online store development, then we will see how to install OpenCart.

What you need for Installation, opencart latest version

Here, we will learn how to install OpenCart. For installation, we need XAMPP, an open source cross-platform web server solution stack package. XAMPP, developed by Apache Friends, provides a server i.e. Apache, and database i.e. MariaDB (formally MySQL), and PHP.

For starting working on OpenCart, you need the following software/ tools on localhost:

OpenCart: A free Ecommerce solution, to start creating online cart.
XAMPP: It is a cross platform open source web solution package, that fulfils your need of,
Web Server

Installing OpenCart, opencart latest version on localhost
We’re learning OpenCart installation from scratch, so first we need to install it on localhost. Here are the steps,

Step 1– Go to the XAMPP official website and download XAMPP,

Install OpenCart on localhost

Step 2– Install XAMPP at any location.

We’re installing in C: Drive as shown below,

Install OpenCart on localhost

Step 3– Create a project folder in the following htdocs directory, C:xampphtdocs.

We created a folder Studyopedia,

Install OpenCart on localhost

We’re done with installation of XAMPP.

Now, we will learn how to download and install OpenCart.

Download and Install OpenCart
To start installation, first download OpenCart.

Step: Go to the following link and download OpenCart,

Install OpenCart on localhost

After clicking Download Now  above, the OpenCart download starts.

Step: After downloading, unzip OpenCart under the new project folder created at,


We created a project folder with the name, Studyopedia, under xampp/htdocs,

Remember, only the contents of the upload folder is to be placed and you can remove the upload folder directory and past its content under your new project folder. This will make the following location of your open cart files,


Here are the files under studyopedia directory,

Install OpenCart on localhost

Create Database for OpenCart Store
Step: Also, create a new database in localhost/phpmyadmin. We created a new one with name ocdb,

Install OpenCart on localhost

OpenCart Installation Starts
Now, go to a web browser and click http://localhost/studyopedia/, then press enter.

Now you can see the following license agreement,

Install OpenCart on localhost

Read the above, and then click Continue,

Step: Now, the second step is visible. If you receive the following error,

Warning: admin/config.php does not exist.
You need to rename admin/config-dist.php to admin/config.php!

Install OpenCart on localhost

You may also get this error,

Install OpenCart on localhost

Then change the file names to config.php at,
xampphtdocsstudyopediaadminconfig-dist.php and xampphtdocsstudyopediaconfig-dist.php,

After doing the changes click CONTINUE,

Install OpenCart on localhost

Step: Now, the configuration options are visible, where you need to add the database and administration details,

Install OpenCart on localhost

Here are details added above,

Field    Value    Description
Database Connection Details
DB Driver    MySQLi    Database Driver
Hostname    localhost    Host name
Username    root    Username for database
Password        Password for database
Database    ocdb    Database name
Port    3306    Port Number
Prefix    oc_    Table Prefix
Administration Details
Username    LearnerOne    Admin Username
Password    (Enter password here)    Admin Password
Email    (Enter email here)    Admin Email-id

Step: OpenCart Installed successfully

Install OpenCart on localhost

As mentioned above, delete the install directory,

Install OpenCart on localhost

In this lesson we learned how to install OpenCart, opencart latest version on localhost on Windows. In the next lesson we will learn how to visit OpenCart store for the first time.

250000 bulk email for 1 month
bulk email services providers 7 Lacks email for 3 Months
bulk email service 30 Lacks email for 12 Months
bulk email marketing 15 Lacks email for 6 Months
seo services
promotional sms cost for 1 lacks
transactional sms cost for 1 lacks
bulk whatsapp message 1 Lack SMS
bulk messages on whatsapp 5 Lack SMS
WhatsApp Marketing 2 Lack SMS

Register New Account
Reset Password
Compare items
  • Total (0)