How to Install OpenCart using XAMPP

How to install Opencart in XAMPP

OpenCart is an open source ecommerce web application built using PHP and MySql. It has a very easy to use interface and you will just love selling your goods online. In this tutorial we will learn how to install OpenCart on XAMPP.

  1. Install XAMPP
  2. XAMPP is a web server required to run your server side code of OpenCart. In order to install XAMPP, click here and download the latest version as per your operating system.  After you download run the program and your XAMPP setup will start.  Keep everything as default.

  3. Download the Latest Version of OpenCart
  4. Click here to download the latest version and once its downloaded unzip the zipped folder.

    Download Opencart Latest

  5. Go to the directory where you have installed XAMPP, then go to xampp ->htdocs and create a folder where you want to install your OpenCart. Here we have created a folder named Shop.
  6. Open the unzipped OpenCart folder and then the upload folder, copy all the contents to the new folder which you have created.
  7. Opencart Folder

  8. Rename OpenCart config files
  9. In your shop folder, rename config.dist and admin/config-dist file to config.

  10. Open XAMPP and start MySQL and Apache
  11. Opencart XAMPP Module Service

  12. Go to localhost and then click on phpMyAdmin. Here click on New, provide a database name and click on Create
  13. Opencart Database

  14. Now go to localhost/shop in your browser and you can see the installation wizard.
  15. Opencart License Agreement

    Click Continue

  16. After clicking Continue twice, you will be given a form to fill up the settings.
  17. Opencart Database Form

  18. You need to give two unique username and passwords, one for the database and another for OpenCart admin login. Also provide the database name that we have created.
    Click Continue .
    Voila! You have installed your own ecommerce.

    Opencart Installation

    Opencart Ecommerce Store

    You may also like:
    4 Must-have extensions for launching your Opencart store
    Opencart is here now!
    Default B2B eCommerce features of Opencart


Soumitra Chakraborty