Online Shopping - PHP (Ajax), MySQL, JavaScript

This is a website developed using PHP (Ajax), JavaScript,HTML and CSS. All the data is stored on the database server (MySQL-XAMPP). In this projects users can check reviews and suggestions about products, which are divided into different categories. 

 Features that this site offers are as follows: 

1. User can register in the website.

In order to register user should complete all the fields: email, password and name. User should confirm the password by retyping it. If passwords do not match, an error message is displayed. Passwords are hashed. 




2. User can login to the website.
After registering and the data is stored to the database, now user can login using the sign up credentials. If user inserts wrong username and password, error message is displayed.

 

3. User can look over products
User can check on all the products displayed in the home page, as well as on categories they are separated.




4. Users can check product's details
User can check details about products, including product code, amount in ml, price and review about that product.


5. Users can order products
After inserting the amount of product to order, when pressing ORDER, users are sent to their cart, where the selected products are displayed. There user can see all the details about the order: product, price, amount, payed money and total cost. Users can also choose to remove the product from cart or not. Client's information is loaded automatically from the registered information. I preferred, user can edit address and phone number. He/she can send any request and when the ORDER button is pressed, a successful delivery message is displayed.

6. User can send requests when ordering the product.
Send request is not mandatory, but users can send any request and when the ORDER button is pressed, a successful delivery message is displayed.
 

 


7. User can check and modify his/her profile.
On their profile, users can see and modify their data: sex, birthday, card ID, address and phone number. Also, orders delivered are showed in this page, with all the specific information: user, payment, ordering time and status.



8. User can search on orders
On check, orders, users can insert the order ID, so that they can check details about the order. 


9. User can send requests/feedback by contacting the page.
On Contact, users are able to send a message to the page. They need to complete all the fields in order to deliver the message. 




The source code could be found here.