addToCart($pr_id,$quantity,$product,$priceis,$size); } if ( count($_POST) ) { // update quantity if ( $_POST['updatequantityof'] && $_POST['quantity'] ) { $cart->updateQuantity($_POST['updatequantityof'], $_POST['quantity']); } if ( $_POST['updatequantityof'] && $_POST['size'] ) { $cart->updateExtra1($_POST['updatequantityof'], $_POST['size']); } header('Location: shoppingcart.php'); exit; } if ( !empty($_REQUEST['delete']) ) { $cart->removeFromCart($_REQUEST['delete']); header('Location: '.$urlprefix.'/shoppingcart.php'); } $cart->setShipping(15); //Company info $query = mysqli_query($con,"SELECT * FROM content WHERE co_id='1'"); $resultcontent = mysqli_fetch_array($query); ?> Singapore Charlie - <? echo $resultcontent["seotitel"]; ?> "> "> ">

Your Shopping cart

prepOverview(); while($item = $cart->getNextItem()) { $pr_id = $item['pid']; $query1 = mysqli_query($con,"SELECT * FROM products WHERE pr_id=$pr_id"); if ( !mysqli_errno($con) ) { while(list($pr_id, $pro_id, $ca_id, $volgorde, $seopage, $seotitel, $seokeywords, $seodescription, $product, $fulltekst, $thumb, $photo, $size, $priceis, $pricewas, $active, $uniek)=mysqli_fetch_array($query1)){ echo"
  • ".$product."

    ".$product."
  • Description

    ".$product."

    Item no: ".$uniek."
    "; if ( $size ) { echo "
    "; } echo "
Qty Unit Total
 
$ ".$item['amt']." $ ".$item['ttl']."
"; } } } ?>

Postage Cost$
Warning: Undefined variable $cart in /home/ibuycost/public_html/shoppingcart.php on line 556

Fatal error: Uncaught Error: Call to a member function getShipping() on null in /home/ibuycost/public_html/shoppingcart.php:556 Stack trace: #0 {main} thrown in /home/ibuycost/public_html/shoppingcart.php on line 556