0?intval($_POST['add']['aantal']):1; if($p['availability']==6){ $aantal = 1; } else if(isset($_SESSION['HI']['sc'][$id][$size]['num'])){ $aantal = $_SESSION['HI']['sc'][$id][$size]['num']+$toevoegen; } else { $aantal = $toevoegen; } $_SESSION['HI']['sc'][$id][$size] = $p; $_SESSION['HI']['sc'][$id][$size]['num'] = $aantal; } header('location: betaal.php'); exit(); } else if ($_POST['update']) { for($i=0;$i 0) { $_SESSION['HI']['sc'][$id][$size]['num'] = intval($num); } else { unset($_SESSION['HI']['sc'][$id][$size]); if(!count($_SESSION['HI']['sc'][$id])){ unset($_SESSION['HI']['sc'][$id]); } } } } } ?> Happy Industries - Interior - Toys - Apparel - Design for Kids
The shoppingcart is empty
$sizes){ ?> $product){ $p = get_row("SELECT * FROM webshop WHERE id='".$id."'"); $totaal += $product['num']*$p['prijs']; $afb = get_row("SELECT * FROM afbeelding WHERE item_id='".$p['id']."' AND afb1!='' ORDER BY volgorde LIMIT 1"); $src = check_img($afb['afb1'], 'library/webshop/'); ?>

item

description

size

qty

price

total