{$methodItem.carrier_name|gs} {$methodItem.method_name|gs} {if $methodItem.method_id == 'flat'} {if count($methodItem.rates) == 0}     {else} {assign var="rate" value=$methodItem.rates.0} {if $rate.rate_min == 0}1{else}{$rate.rate_min|string_format:"%d"}{/if}{if $rate.rate_max > 0} - {$rate.rate_max|string_format:"%d"} {trans key="shipping.items"}{else} {trans key="shipping.items_and_up"}{/if} {if $rate.price_type == 'percentage'}{$rate.price|gn}%{else}{$rate.price|price}{/if} {/if} {elseif $methodItem.method_id == 'price'} {if count($methodItem.rates) == 0}     {else} {assign var="rate" value=$methodItem.rates.0} {$rate.rate_min|price}{if $rate.rate_max > 0} - {$rate.rate_max|price}{else} {trans key="shipping.and_up"}{/if} {if $rate.price_type == 'percentage'}{$rate.price|gn}%{else}{$rate.price|price}{/if} {/if} {elseif $methodItem.method_id == 'base_weight'} {if count($methodItem.rates) == 0}     {else} {assign var="rate" value=$methodItem.rates.0} {if $rate.rate_min == 0}0 {else}{$rate.rate_min|gn}{/if}{if $rate.rate_max > 0} - {$rate.rate_max|gn} {$LocalizationWeightUnits}{else} {$LocalizationWeightUnits} {trans key="shipping.and_up"}{/if} {$rate.base|price} {/if} {elseif $methodItem.method_id == 'product'}     {/if} {$methodItem.states_names|gs}
{$methodItem.priority}
{if $methodItem.hidden == 'Yes'}No{else}Yes{/if}
'product'} title="Add ranges for method"{/if}>{trans key="common.edit"}{if count($methodItem.rates) == 0 && $methodItem.method_id <> 'product'}{/if} {trans key="common.delete"} {foreach from=$methodItem.rates item="rate" name="rates_loop"} {if $smarty.foreach.rates_loop.index > 0} {if $methodItem.method_id == 'flat'} {if $rate.rate_min == 0}1{else}{$rate.rate_min|string_format:"%d"}{/if}{if $rate.rate_max > 0} - {$rate.rate_max|string_format:"%d"} {trans key="shipping.items"}{else} {trans key="shipping.items_and_up"}{/if} {if $rate.price_type == 'percentage'}{$rate.price|gn}%{else}{$rate.price|price}{/if} {elseif $methodItem.method_id == 'price'} {$rate.rate_min|price}{if $rate.rate_max > 0} - {$rate.rate_max|price}{else} {trans key="shipping.and_up"}{/if} {if $rate.price_type == 'percentage'}{$rate.price|gn}%{else}{$rate.price|price}{/if} {elseif $methodItem.method_id == 'base_weight'} {if $rate.rate_min == 0}0{else}{$rate.rate_min|gn}{/if}{if $rate.rate_max > 0} - {$rate.rate_max|gn} {$LocalizationWeightUnits}{else} {$LocalizationWeightUnits} {trans key="shipping.and_up"}{/if} {$rate.base|price} {/if} {/if} {/foreach}