E-Commerce/Shopping Cart Web Application using PHP with Source Code


This is an eCommerce website source code called Amaclone. This was built using PHP, MySQL Database, Bootstrap, and jQuery. Most of the typical e-shops' major functionalities are included in this PHP project such as shopping cart and categorized display of product. The admin panel is not yet developed in this version but feel free to create your own. The Amaclone eCommerce Website has also Users Registration and Login Feature. To know more about the project continue reading below and installation instructions will be provided below so you will have a better idea about this project by using it.


  • Carousel featuring products
  • Featured products
  • Sort by price or popularity
  • Sort by Category
  • Login and Registration
  • Pagination enabled
  • Realtime addition to cart
  • View Cart
  • Manage Cart
  • Checkout
  • A quick look of products

The source code is free to download. Feel Free to modify the source code the way you wanted but please don't forget to give me credits as the original developer.


How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Import the provided SQL file. The file is known as "db.sql" located inside the extracted source code folder.
  6. Browse the Amaclone eCommerce Website in a browser. i.e. http://localhost/amazonclone

That's it! You can now explore the features and functionalities of this Amaclone eCommerce Website. I hope this project will help you with what you are looking for and you will find something useful for your future PHP Projects.

Enjoy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted bykingwashon Thu, 06/15/2017 - 22:05

Hi, that's a good neat job you have done. But it will be more perfect and standardized if you could add the Admin back end where admin can manage inventory in store, and price and other things as well, The admin too should be able to manage customers details and transactions as well. Thank you

PayPal sandbox is pretty simple. Login to your sandbox account and create an email for business and personal type. When testing, add the business type email as merchant and use the personal type when testing (buying).

please can you make a video or explain to me how you do that : when you click in name category like Electronics it get the product in Electronics with no refresh the page it built with ajax but how can you give me a video or something like this please sur and god bless you .
Submitted byJayluis (not verified)on Wed, 06/21/2017 - 16:41

this system is just awesome ..good job sir ...but i have just one concern if you can add the admin panel where you manage the orders and payment..and also the about page sir ...can you help me with that sir
Submitted byOyewole Rasaq (not verified)on Fri, 10/20/2017 - 20:42

hello, nice code...i am having issue logging in. the sign in button do not activate and the forgot password button..kindly reply asap
Submitted byWijdansami (not verified)on Wed, 06/02/2021 - 15:48

Nice work
Submitted byJoseph Chrzempiec (not verified)on Tue, 05/02/2023 - 14:34

Hello, I set everything up but nomatter what name I put in to sign up I keep getting this joseph is not valid..!. Can you please help me?

Add new comment