query($sql_product); $product_list = ""; while ( $row_product = $db->fetch_array($rs_product)){ $catname = $row_product["catname"]; $subcatname = $row_product["subcatname"]; $name = $row_product["{$_SESSION['lang']}_name"]; $alt = $row_product["alt"]; $seo = $row_product["seo"]; $productcode = $row_product["productcode"]; $desc = $row_product["{$_SESSION['lang']}_desc"]; $briefdesc = $row_product["{$_SESSION['lang']}_brief"]; $price1unit=$row_product["price1unit"]; $price2unit=$row_product["price2unit"]; $price3unit=$row_product["price3unit"]; $price1=$row_product["price1"]; $price2=$row_product["price2"]; $price3=$row_product["price3"]; $qunxs=$row_product["qunxs"]; $quns=$row_product["quns"]; $qunm=$row_product["qunm"]; $qunl=$row_product["qunl"]; $qunxl=$row_product["qunxl"]; $totalqun = $qunxs+$quns+$qunm+$qunl+$qunxl; $sql_producta = "SELECT * FROM `tb_shipping_zone` WHERE `id` = '".$row_product['zone_id']."' LIMIT 0,1"; $row_producta = $db->getrow($sql_producta); if ( $_SESSION['currency']=='1') $shipping = $row_producta['price_usd']; else $shipping = $row_producta['price_hkd']; if ($shipping == '0') $shipping = 'Free'; $product_list .= ""; } ?>
query($sql_productphoto); while ( $row_productphoto = $db->fetch_array($rs_productphoto)){ if ( $row_productphoto["col_name"]=='Photo Large' ){ $photo1 = $row_productphoto["file_name"]; $photopath1 = $row_productphoto["path"]; } if ( $row_productphoto["col_name"]=='Photo Small Left' ){ $photoleft = $row_productphoto["file_name"]; $photopathleft = $row_productphoto["path"]; } if ( $row_productphoto["col_name"]=='Photo Small Middle' ){ $photomiddle = $row_productphoto["file_name"]; $photopathmiddle = $row_productphoto["path"]; } if ( $row_productphoto["col_name"]=='Photo Small Right' ){ $photoright = $row_productphoto["file_name"]; $photopathright = $row_productphoto["path"]; } } ?>


0 || ($qunxs + $quns + $qunm + $qunl + $qunxl )==-999 ) { ?>

0 || $quns>0 || $qunm>0 || $qunl>0 || $qunxl>0 ) { ?>
0) { ?>
Qty