ob_start(); ini_set('display_erro','off'); include("settings/db_ini.php"); session_start(); $browsessionid=$_REQUEST['browsessionid']; $country=$_REQUEST['country']; ?>
Product | Total | |
---|---|---|
echo $resmenu['name'];?> × if($x>0) { ?> echo $qty;?> } ?> if($x>0) { ?>( } ?> echo $qty;?> if($x>0) { ?>+ echo $x;?> Free= echo ($qty+$x); ?>) } ?> | } else { ?>echo $resmenu['name'];?> if($country=="India") { ?> x echo $productprice;?>.00 $qty;?> } else { ?> x $ echo sprintf('%0.2f', $productprice_int);?> $qty;?> } ?> | } ?>
|
Cart Total | if($country=="India") { ?> echo $subtotal;?> } else { ?> echo sprintf('%0.2f', $new_price);?> } ?> | |
Weight | $int_weight=($tot_weight_2/1000); ?> echo sprintf('%0.1f', $int_weight);?>kg | |
Shipping & Packing Charges | if($country=="India") { ?> } else { ?> } ?> if($country=="India") { ?> echo $new_kilo_4=((($new_kilo_6+1)*$courier_fees)+$packing_charges);?>.00 } else { $tot_weight_2_int=$tot_weight_2; $Query_job_move_courier_country= mysql_query("SELECT * from tbl_courier_charges_country where state='$country' "); $row_job_move_courier_country= mysql_fetch_array($Query_job_move_courier_country); $num_max_ship_int=mysql_num_rows($Query_job_move_courier_country); if($num_max_ship_int>0) { $courier_fees_country=$row_job_move_courier_country['amount']; $courier_fees_country_extra=$row_job_move_courier_country['additional_amount']; } else { $Query_job_move_courier_country= mysql_query("SELECT * from tbl_courier_charges_country where state='Others' "); $row_job_move_courier_country= mysql_fetch_array($Query_job_move_courier_country); $courier_fees_country=$row_job_move_courier_country['amount']; $courier_fees_country_extra=$row_job_move_courier_country['additional_amount']; } if($tot_weight_2_int<=500) { $courier_fees_country_1=$courier_fees_country; } else { $tot_weight_2_int_1=($tot_weight_2_int-500); $tot_weight_2_int_1_2=($tot_weight_2_int_1/250); $new_kilo_5_int = explode('.',$tot_weight_2_int_1_2); $new_kilo_6_int=$new_kilo_5_int[0]; $new_kilo_6_int_7=($new_kilo_6_int+1); $new_kilo_6_int_7_8=($courier_fees_country_extra*$new_kilo_6_int_7); $courier_fees_country_1=($courier_fees_country+$new_kilo_6_int_7_8); } ?> $new_kilo_4=($courier_fees_country_1);?> echo sprintf('%0.2f', $new_kilo_4);?> } ?> | |
Order Total ( Inclusive of GST ) | if($country=="India") { ?> $massss=$subtotal+$new_kilo_4;?> echo sprintf('%0.2f', $massss);?> } else { ?> $massss=$new_price+$courier_fees_country_1;?> echo sprintf('%0.2f', $massss);?> } ?> |