An e-commerce website for smartphones. Built with pure PHP and CSS.
- PHP
- CSS
- JavaScript
- MySQL
This application is suggested to be installed with the help of XAMPP (https://www.apachefriends.org/index.html).
- First, the database for the application must be created. Through phpMyAdmin we navigate to import and we choose the file 127.0.0.1.sql .
-
Now we must place the application files in the Apache server. The path is usually C:\xampp\htdocs and inside htdocs we place the folder pgphones.
-
After we initiate the service of Apache and MySQL from xampp the application is ready to use. It runs on the address localhost:port/pgphones ,where port is the endpoint in which our Apache server runs.
- User registration procedure
Click to see it in action
Successful registration
(GIF - Duration: 14 seconds)
Attempting to register with an already registered email address
(GIF - Duration: 14 seconds)
- Login procedure
- Browsing products
- Adding and removing an item from cart
- Completing shopping (checkout)
Click to see it in action
Checking out without user account
(GIF - Duration: 14 seconds)
Checking out with user account - Shipping details are filled automatically
- Each time a user who has not finished shopping logs in, his cart is waiting there for him
- Asynchronous load of each brand's products according to user selection, in their specific area of the page.
- Asynchronous update of the cart items, in its specific area of the page, when the user adds or removes something from his cart.
- Usage of session variables in PHP to keep track of each user's actions (users without an account will also have their cart waiting for them when they return to the page).
University project for the course of E-commerce.