I need some help creating a cart system.
I’m currently using roman cart & MySQL which means I have to maintain two separate databases.
The MySQL database holds the Product information and a Link to RomanCart.
When the user clicks the “Add to Cart” info is added to RomanCart and the page is refreshed displaying the updated cart info.
My PHP Scripts have been generated by Maestro PHP Generator for MySQL:
I want to stop using RomanCart and do all the Cart transactions via PHP & MySQL
Here is how I think it should go:
Stage 1: The user clicks the “Add to basket” button.
A Script will add the ProductID & Product Name, Price and Quantity to an array and display the total number of items and total price from the array.
Stage 2: When the user clicks the “View Cart” Button
Scripts will display the Product Name, Price and Quantity from the array, display the total product.
As a novice, would the above be achievable? Or is there an open source cart system I can use?.
Thanks in advance