/**
 * @var $available_methods array List of available shipping methods.
 */
?>

<?php 
$available_methods = fflcommerce_shipping::get_available_shipping_methods();
?>
<tr>
	<td colspan="2"><?php 
_e('Shipping', 'fflcommerce');
?>
<br />
		<small><?php 
echo _x('To: ', 'shipping destination', 'fflcommerce') . __(fflcommerce_customer::get_shipping_country_or_state(), 'fflcommerce');
?>
</small>
	</td>
	<td>
		<?php 
if (count($available_methods) > 0) {
    ?>
		<select name="shipping_method" id="shipping_method">
			<?php 
    foreach ($available_methods as $method) {
        /** @var fflcommerce_shipping_method $method */
        ?>
				<?php 
        for ($i = 0; $i < $method->get_rates_amount(); $i++) {
            $service = $method->get_selected_service($i);