I am creating a custom shopping cart, and need to send data from the product page to the cart page. The product form is for clothes, and has a table with several columns for sizes, and several rows for colors, and the buyer can enter the ‘quantity’ in the body of the table for each size/color. it will be a lot of input, and I would like to pass all of the information to a shopping cart on the next page, and have javascript create table rows/cells to contain all of the data. I will eventually use paypal to enter the whole shopping cart as one item.
Thanks for any help!!!!
I am creating a custom shopping cart, and need to send data from the
Share
Personally I’d use PHP for this matter. Passing variables like you want to is way easier in PHP than say HTML or JS.
Recently I learned that using PHP
$_SESSIONvariables for these issues but hell, you’re not gonna pass -too- many variables (unless you’re expecting multi-millionare customers) so why not give it a try with$_SESSIONvariables? They’re very easy to use and cause little confusion within small systems.