Shopping Cart Session to keep track of distinct items
Posted: Tue Oct 10, 2006 9:36 am
Each item needs to be distinct due to size and quantity and Product ID. Is there a better way to store a distinct set of data. Right now I'm concatinating the below information (product id, size and quantity) and parsing them out later.
thanks,
Andrea
Code: Select all
$_SESSION['products']["idProduct_".$id."_size|".$size . "_qty:" .$qty] = $id; //new entryAndrea