Home   |    Online Ordering   |   Order Status   |   Contact Us   |  About the Heat   |   Recipes   |   Testimonials   |   Awards


0){$cartstr=$cartstr.",".$key.",".$cart[$key]; $numitems+=$cart[$key]; } } } if(strcmp($cartstr,"")!=0) { $cartstr=substr($cartstr,1); } else{ echo "

You have no items in your cart.

"; } $_SESSION['cart']=$cartstr; // Calculate cost if($numitems<=0){$shipping = 0;} elseif($numitems==1){$shipping = 5;} elseif($numitems==2){$shipping = 6;} elseif($numitems==3){$shipping = 7;} elseif($numitems==4){$shipping = 8;} elseif($numitems==5){$shipping = 9;} elseif($numitems==6){$shipping = 10;} elseif($numitems==7){$shipping = 10.50;} elseif($numitems==8){$shipping = 11;} elseif($numitems==9){$shipping = 12;} elseif($numitems==10){$shipping = 13;} elseif($numitems==11){$shipping = 14;} else{$shipping = 0;} switch($numitems){ case(0): $subtotal = 0; break; case(1): $subtotal = 6.0; break; case(2): $subtotal = 12; break; case(3): $subtotal = 18; break; case(4): $subtotal = 24; break; case(5): $subtotal = 27.50; break; case(6): $subtotal = 31.50; break; case(7): $subtotal = 36.75; break; case(8): $subtotal = 42.00; break; case(9): $subtotal = 47.25; break; case(10): $subtotal= 52.50; break; case(11): $subtotal= 57.75; break; case(12): $subtotal = 65.00; break; default: $subtotal= $numitems*5.5; } // Display the cart ?>
0){ $query = "SELECT name FROM products WHERE item='$item'"; $result = mysql_query($query); $row = mysql_fetch_array($result, MYSQL_ASSOC); ?>
[X]
Subtotal:
Shipping:
Total:

Your Cart