e-Commerce Site using PHP with PDO PHP Script

e-Commerce Site using PHP with PDO PHP Script


  • jQuery cart adding and quantity adjustment
  • Can shop even without logging into the site but cant checkout
  • Product Search
  • Magnify product image
  • Email verification on signup
  • Google recaptcha on signup
  • Forgot password email
  • Paypal express checkout
  • Printable sales via date range
  • User CRUD
  • Product CRUD


  • AdminLTE
  • PHPMailer


1. Download the source code using the Download button below.

2. Extract the downloaded file to your localhost folder ex. htdocs for XAMMP.

3. Import the included .sql file located in db folder which is the database of the system. If you have no idea on how to import, please refer to my tutorial on How import .sql file to restore MySQL database.

4. After a successful import, open the extracted folder and open conn.php located in includes folder. Edit the database name in the connection depending on the name of database you created in importing the included .sql file.


There are two type of users to the system: admin and buyer.

For admin account, you can use this credential:

Email: [email protected]
Password: password

For buyer:

Email: [email protected]
Password: nurhodelta

Optional Task

  • Change the email and password to your own account in register.php
  • Create ABOUT US and CONTACT US page
  • Social Media Links
  • Subscribe email



Learn How to install e-Commerce Site using PHP with PDO PHP Script?

Find More related e-Commerce Site using PHP with PDO PHP Script

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *