$_SESSION['product_code'] = 'MBT-1753';
$product_code = $_SESSION['product_code'];
if (!isset($_SESSION['cart'])) {
$_SESSION['cart'] = array(); }
$_SESSION['cart']['key1'] = 'value1';
$_SESSION['cart']['key2'] = 'value2';
$cart = $_SESSION['cart'];
foreach ($cart as $item) {
echo("<li>$item</li>\n");
}
unset($_SESSION['cart']);
$_SESSION = array();