Basic Shopping Cart written in PHP by Grun Wua Wong.
This code base was tested locally on a Windows 10 machine using XAMPP 3.2.4 to start host the Apache server. The shopping cart was designed with an index.php for displaying products and updating the shopping cart using the cart.php class methods.
- Apache server for running the code
- PHP 8.0.2 was used for development
- Acquire XAMPP
- Clone the code repository into the
xampp/htdocs/ - Open the XAMPP Control Panel and start the Apache server
- Open a web browser
- Navigate to
http://localhost/ShoppingCart/index.phpin the URL