{*TITLE*}

{if !empty($settings.id)} {$settings.name|escape} id: {$settings.id} {else} [`New category`] {/if}

{*CATEGORY NAME*}
[`Name`]
{*PUBLIC LINK*}
[`Public link`]
{if $settings.frontend_urls} {foreach $settings.frontend_urls as $frontend_url}
{if $frontend_url@first} {strip} {waIdna::dec($frontend_url.base)} {waIdna::dec($settings.url)} {/strip} [`edit`] {else} {waIdna::dec($frontend_url.url)} {/if}
{/foreach} {else}
{$frontend_base_url}{if !empty($parent) && !$flat_url_type}{$parent.full_url}/{/if}/
{/if}
{if $settings.has_children}
{/if}
{*EVENT*} {if !empty($event_dialog)}{foreach $event_dialog as $plugin_id => $plugin_html}{$plugin_html}{/foreach}{/if} {*CATEGORY TYPE*} {if empty($settings.id)}
[`Type`]
    {if ifset($parent, 'type', 0) != 1}
  • {/if}
{else} {/if} {*DYNAMIC FILTERS*} {if $settings.id === '' || $settings.type == shopCategoryModel::TYPE_DYNAMIC} {/if} {*SORT*}
[`Products sort order`]

{sprintf_wp('Sorting option “%s” is available only when the “%s” setting is disabled.', _w('Manual'), _w('Displaying products from subcategories'))}
{*FRONTEND VISIBLE*}
[`Frontend display`]
{include file="./filter.template.html" inline}
{*CATEGORY VISIBLE*}
[`Category visibility`]
{if !empty($routes)}
{foreach $routes as $domain => $domain_routes} {foreach $domain_routes as $route} {$url = $domain|cat:"/":$route.url}
{/foreach} {/foreach}
{/if} {if $settings.has_children}
{/if}
{*META TAGS*}
[`Title`]
[`META Keywords`]
[`META Description`]
{*SOCIAL NETWORK*} {$category_og = ifempty($settings.og, [])} {$editable_ogs_list = explode(',', 'title,image,video,description,type')} {$editable_ogs = array_intersect_key($category_og, array_fill_keys($editable_ogs_list, 1))} {$other_ogs = array_diff_key($category_og, $editable_ogs)} {$og = $editable_ogs} {*DESCRIPTION*}
{*CUSTOM PARAMS*}

[`Optional set of custom key=value parameters which can be used in design theme templates as {$category.params.key}. Each key=value pair must be on a separate line.`]
[`or`] [`cancel`]
{$wa->csrf()}