<td></td>
				</tr>
				<?php 
}
?>
				<tr>
					<td>Discount</td>
					<td class="value"><?php 
echo fn_price($cart['discount']);
?>
</td>
				</tr>
				<tr>
					<td>Delivery To</td>
					<td class="value"><?php 
echo fn_countries("countries", $country_selected, true);
?>
</td>
				</tr>
				<tr>
					<td>Shipping Fee</td>
					<td class="value"><?php 
$shipping = fn_shipping($cart['subtotal'], $country_selected);
echo fn_price($shipping);
?>
</td>
				</tr>
				<tr><td colspan="2"><h3 class="tit-line">&nbsp;</h3></td></tr>
				<tr>
					<td>Total</td>
					<td class="value"><?php 
Example #2
0
    }
    $cart['products'] = $cart_products;
    echo "ok";
    exit;
}
//cart info
$cart['saved'] = 0;
$cart['original_price'] = 0;
$cart['subtotal'] = 0;
$cart['total'] = 0;
//!empty($cart['total']) ? $cart['total'] : 0;
?>
	<div class="main">
		<div class="ajax-country">
			Select the receiver's country: <?php 
echo fn_countries("countries", $country_selected, false, site_uri("action/country_selected.php"));
//ajax = true
?>
		</div>
		<table class="table checkout-list">
			<thead>
				<tr>
					<th>Items</th>
					<th>Descriptions</th>
					<th>Unit price</th>
					<th>Quantity</th>
					<th>Total</th>
				</tr>
			</thead>
			<tbody>
			<?php