{$token = ifset($settings, 'token', '')}

{$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 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.')}
{$obj->_w('There are no parcel offices in your city.')}
{$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 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 Boxberry’s weight limitation of 30 kg.')}
{$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')}