Skip to content

jacob5412/PHP-ecommerce

Repository files navigation

An ecommerce website using PHP

An e-commerce php and mysql website built from scratch to get started with as a starter template.

Homepage

GUI

Documentation

Site functions

  • Search for products (using autocomplete)
  • Displays an array of popular selling products on the front page
  • Contact us form that directly e-mails messages to site admin

Admin

  • Functionality to add and delete products
  • Display product statistics and stock.
  • Query, display and delete all users that signed up on the website.
  • Admin can edit his/her own profile's email address and password.
  • Logout of the current session.

Sample creds saved in DB:

email: kapsjacob@gmail.com
password: 123456
role: admin

User

  • Signing up for a user account
  • Change e-mail id and password
  • Add items to a cart/basket prior to purchasing
  • Generating invoice of all items and printing them in pdf form
  • Purchasing items and delivering them to a specific address

Sample creds saved in DB:

email: ismail16smakosh23@gmail.com
password: ahmed
role: client

Database Configuration

Host: localhost
User: root
Password: MyNewPass
Name: ecommerce

Credits

The original project can be found on SmartShop.