{$token = ifset($settings, 'token', '')} {$ndd = ifset($settings, 'yaDelivery', 0)}

{$obj->_w('Basic settings')}

{$obj->_w('Service name')}
{$obj->_w('API URL')}

{$obj->_w('To switch to the test mode, request a test API address and token from the Yandex Delivery (Boxberry) support team.')}
{$obj->_w('Token')}
{$obj->_w('Parcel office city')}
{$obj->_w('To select a parcel office, please enter a token and save the settings.')}
{if !empty($errors)}{$errors|escape}{else}{$obj->_w('There are no parcel offices in your city.')}{/if} {if $ndd == 1} {$obj->_w('The pickup point selection was reset, please select it again.')} {/if}
{$obj->_w('Parcel office')}
{$obj->_w('Maximum dimensions')} {$obj->_w('Maximum package dimensions for which this shipping method should be available. Cannot exceed the maximum dimensions set by Yandex Delivery (Boxberry) — length 1.2 m, width 0.8 m, height 0.5 m, all dimensions sum 2.5 m.')}
{$obj->_w('Length')}
{$obj->_w('m')} +
{$obj->_w('Width')}
{$obj->_w('m')} +
{$obj->_w('Height')}
{$obj->_w('m')} = {$settings.max_length|default:'0.001' + $settings.max_width|default:'0.001' + $settings.max_height|default:'0.001'} {$obj->_w('m')}
{$obj->_w('Default dimensions')} {$obj->_w('Used in cases when package dimensions are not provided by a dedicated plugin. If these values are empty then, if no values are provided by a dedicated plugin, shipping terms and rates for this shipping method will not be calculated.')}
{$obj->_w('Length')}
{$obj->_w('m')} +
{$obj->_w('Width')}
{$obj->_w('m')} +
{$obj->_w('Height')}
{$obj->_w('m')} = {$settings.default_length|default:'0.001' + $settings.default_width|default:'0.001' + $settings.default_height|default:'0.001'} {$obj->_w('m')}

{$obj->_w('Used only if order dimensions have not been calculated by a special plugin. If no value is specified, shipping rate and terms will not be calculated.')}

{$obj->_w('Max weight')} {$obj->_w('Maximum weight for which this shipping method will be available. Cannot exceed the weight limitation of 30 kg set by Yandex Delivery (Boxberry).')}
{$obj->_w('g')}
{$obj->_w('Default weight')} {$obj->_w('Used in cases when no weight data are available. If this value is empty then, with no information about the shipping weight available, the shipping terms and rates will not be calculated.')}
{$obj->_w('g')}
{$obj->_w('Disable the plugin in case of errors on the Yandex Delivery (Boxberry) server')}

{$obj->_w('The plugin will be disabled for the selected period of time if errors are detected.')}