{function fieldLocalizedType field=null} {strip} {if $field instanceof waContactBranchField} {$field_types['Branch']} {elseif $field instanceof waContactStringField && $field->getParameter('input_height') > 1} {$field_types['Text']} {else} {ifempty($field_types[$field->getType()], $field->getType())} {/if} {/strip} {/function} {function renderContactFieldsEditor _fields=[] _fields_config=[] _type=null} {foreach $_fields as $_field_id => $_field} {* ignore special tech fields *} {if $_field_id === 'company_contact_id'} {continue} {/if} {$_is_used = false} {if isset($_fields_config.$_field_id)} {$_is_used = true} {/if} {$_is_required = false} {if !empty($_fields_config.$_field_id.required)} {$_is_required = true} {/if}
{/foreach} {/function} {$_title = _w('Order editor')|cat:" — ":{$wa->accountName(false)}|escape:'javascript'} {$_class = 's-settings-order-editor'} {$_id = uniqid($_class)}

[`Manually added orders’ editor`]

{sprintf('[`Select which fields must available for the editing of orders with selected order source “%s”.`]', '[`Manual order`]')} [`If a storefront is selected as an order’s source then that storefront’s checkout settings define which fields are available for order editing.`]

{* GENERAL SETTINGS *} {* PERSON FIELDS *} {* COMPANY FIELDS *} {* ADDRESS FIELDS *}

[`General settings`]

[`Individual contacts’ fields`]

[`Organization contacts’ fields`]

[`Address fields`]