|
What i want is to have an "add to cart button" on the previous page which will add to my cart_items table the details received from the user. If you know of a better way to do it than what ive posted above that wouls be fantastic.
over a series of pages i get info from the user as to what colour, size, quantity, type etc of wardrobe doors they want. the stage i am at now is the add to cart page. I looked into buying a package for this but dont reallyunderstand how id set it it up with what i already have and get the impression you have to follow quite a fixed design of site.
On the page previous to this one the user clicks an add to cart button and is brought to the page printed above. thinking about it though im wondering if it would be better to make the showcart.php (above) an include statement and include it each time someone add something to the cart. As it is i think im burrying myself as the user will click add to cart more than once to add their interior and lights so the page showcart.pho will be obsolete for those id imagine.
Thanks for looking
|