Introduction:
In this project, I will guide you how to build a shopping cart by using PHP and MySQL. The simulation as below:
Requirements:
- In order to understand this project, it requires you to have a basic knowledge about HTML, CSS, PHP and SQL language.
Overview:
- The snapshot lists out items in the shop:
- Order Now: to purchase the product:
+ Continue Shopping: return the items list
+ Add/Drop-textbox: to add more or drop down the quantity of the item.
+ Save icon: update the # and $ of the selected items.
+ Checkout: to commit purchasing and the bill sent to MySQL server.
- MySQL server after receiving a purchase:
+ Order:
+ Orderdetails:
+ Product: This is a database containing items displayed in the shop.
Source code: https://github.com/anhqui/SHOPPING_CART
Conclusion:
In this project, I helped you how to build a shopping cart using PHP and MySQL. I also included video to simulate how the project works as well as the source code.