Skip to main content

Simple E-Commerce Bookstore in PHP/MySQLi with Full Source Code

Language

Simple E-Commerce Bookstore in PHP/MySQLi with Full Source Code

The Simple E-Commerce Bookstore is a web based system that is made of PHP, JavaScript, CSS and MySQL for the database. This Simple E-Commerce Bookstore contains two sections the admin section and the user section. This is designed as simple and easy to use system that different users can easily use and navigate the Simple E-Commerce Bookstore in PHP/MySQLi.

About the Simple E-Commerce Bookstore in PHP/MySQLi

The main purpose of this Simple E-Commerce Bookstore in PHP/MySQLi is to allow book owners to post the books that they want to sell online. In this way the customers can easily select for the books that they want to purchase depending on their desire. Before the customer or user can browse books on the website, he/she has to register to log in and have an access into the Simple E-Commerce Bookstore in PHP/MySQLi. Once he already has an account he can now view the displayed available books in the store. He can easily search for books because the Simple E-Commerce Bookstore in PHP/MySQLi provides the books categories, authors and book description. Then, the prices of books are also posted so the customers can sort out the books based on price or discount. If ever the customer or user has any questions about the books that he/she wants to purchase, he can directly contact the admin by sending an email.

These are the following features of Simple E-Commerce Bookstore in PHP/MySQLi

  • Shop Books
  • Signup
  • Customer Login
  • Customer Search Book by Author
  • Search Book by Category
  • Category of Books
  • List of Books By Category
  • List of Book by Author
  • Add to cart
  • Purchase Books

How to setup the Simple E-Commerce Bookstore in PHP/MySQLi with Full Source Code

  1. Download the zip file.
  2. Download and install XAMPP
  3. Run the XAMPP control panel and start MySQL and Apache
  4. Go to C:\xampp\htdocs and extract the downloaded zip file (PN-Bookstore) inside the folder
  5. Open the browser and go to http://localhost/phpmyadmin/ to create the database
  6. Click the new to create a database.
  7. Name the database sourcecodester_bookdb.
  8. Click import to import the sql file.
  9. Click choose file and select the file that can be found inside the PN-Bookstore folder
  10. Click go.

How to run the Simple E-Commerce Bookstore in PHP /MySQLi with Full Source Code

Open the browser and go to http://localhost/PN-Bookstore/

Accessing accounts

Username: a
Password: a

This Simple E-Commerce Bookstore in PHP/MySQLi with Full Source Code is for educational purposes only. You can download it as a reference and expand your knowledge in making a system. You can freely modify it, according to your desire.

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.

FOR YOUR OWN SAFETY, PLEASE:

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.

Add new comment