View Full Version : javascript shopping cart - storing variables??????

06-13-2003, 09:03 AM
im using a simple javascript shopping cart all on one page, a few products, order form and check out.

i want to have another page with other products on. problem is i need a script mod so that if a user clicks 'add one to cart' it remembers this product, so that when u go to the next page and pick another product, etc and then back to the order form it remembers all the items 'added'.

can anyone help with this, its doing my head in!!!

thanks in advance to anyone that can. the page in question

have a click around and u will see what i mean.


06-13-2003, 04:29 PM
Use cookies.


06-14-2003, 07:23 AM
thanks for that. i have no idea how u would build cookies into the script. if anyone does or you do, pls let me know. as i sell records and other dj stufff, may be we could do a swap?

pls let me know, as i really need this working.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum