{if empty($regions)}

[`Shipping will be restricted to the selected country. Rates defined below will be applied to the entire country.`]

{else}

{$p->_w('Shipping will be restricted to the selected region.')}

{/if}

{$p->_w('If courier shipping is provided only within specific localities, enter the locality names separated by comma so that customer is not be prompted to enter a locality name when this shipping option is selected; a locality name will be automatically fetched as you specify it here. If this field is left blank, a customer will be prompted to enter a locality name.')}



{$p->_w('Address fields management')}

{$p->_w('Enable this option for the plugin to require from a client mandatory completion of the fields only, which are selected below in setting “Default address fields”.
Disable it to make the plugin optionally request only address fields defined by app settings (the app must request all address fields required for selected shipping method).')}


{$p->_w('Default address fields')}
{$p->_w('Enable shipping address fields which must always be filled by a client during checkout.')}
{$p->_w('Should some of the enabled fields be filled on the contact info step, then they will not be displayed on courier shipping selection.')}
{$p->_w('Disabled can be only fields that are not completed in the above setting “Shipping region”.')}


{$p->_w('Additional address fields')}
{$_string_subfield_count = count($address_oneline_string_subfields)} {function _shipping_courier_additional_subfield_select_options selected=''} {foreach $address_oneline_string_subfields as $_subfield_id => $_subfield} {/foreach} {/function} {foreach $additional_address_field_ids as $_field_id => $_label} {$_real_subfield_id = $values.additional_address_fields[$_field_id]|default:''} {if !isset($address_oneline_string_subfields[$_real_subfield_id])} {$_real_subfield_id = ''} {/if} {$_checkbox_is_disabled = $_string_subfield_count == 0} {$_checkbox_is_selected = !$_checkbox_is_disabled && $_real_subfield_id}
{* to reset value if select is disabled *}
{/foreach}
{if $_string_subfield_count == 0}
{$_link_url = "{$webasyst_app_url}settings/field/"} {sprintf($p->_w('Add extra subfields of “Text (input)” type for the “Address” field via Settings app to enable these additional address fields.'), $_link_url)}
{/if}
{$p->_w('Enable extra address fields which you want to be offered for completion to customers during checkout.')}


{if !empty($map_adapters)}
[s`Maps`]
{foreach $map_adapters as $a} {$adapter_id = $a->getId() }
{$map_adapter_settings = $a->getSettingsHtml(['namespace'=>$namespace])} {if !empty($map_adapter_settings)} {/if} {/foreach}
{$p->_w('Select an online maps service to display a map with the customer address on the printable packing list form.')}
{/if}
{$p->_w('Shipping rate calculation')}
{foreach $values.rate as $rate} {/foreach}
{$p->_w('Shipment weight')} {$p->_w('Shipment amount')}   {$p->_w('Shipping rate')}  
{$p->_w('Add rate')} {sprintf( $p->_w('Enter shipping rate as a flat rate, as a percent of cart total, or as a sum of both. Example: 20+10%% will calculate shipping rate as 20 %s + 10%% of cart total.'), $values.currency )}
> {if $values.weight_dimension == 'kg'} {$p->_w('kg')} {else} {$p->_w('lbs')} {/if} {$values.currency} {$values.currency}


{$p->_w('Weight dimension unit')}
{$js_code}