{* id of a set or category *} {if $collection_hash !== null} {$id = ifset($collection_hash[1])} {else} {$id = null} {/if} {if $info && ( ($info.hash == 'set' && $info.type == shopSetModel::TYPE_STATIC) || ($info.hash == 'category' && $info.type == shopCategoryModel::TYPE_STATIC) ) } {$manual = true} {else} {$manual = false} {/if} {* {$order = $wa->get("order", "desc")} *}

{if !empty($title)}{$title|escape}{else}[`Untitled`]{/if} {* @event backend_products.%plugin_id%.title_suffix *} {if !empty($backend_products)}{foreach $backend_products as $_}{ifset($_.title_suffix)}{/foreach}{/if} {if $collection_hash && ($info.hash == 'category' || $info.hash == 'set')} {if $info.hash == 'category'}[`Category settings`]{else}[`Set settings`]{/if} {if $info.hash == 'category'}[`Delete category`]{else}[`Delete set`]{/if} {/if}

{$include_name = './product_list_'|cat:$view:'.html'} {include file=$include_name}
{_w('%d product','%d products', $count)} {sprintf(_w('of %d'), $total_count)}

= $total_count}style="display:none;"{/if}>[`Show more products`]
{* dialogs section *}

{if $info.hash == 'category'}[`Delete category`]{else}[`Delete set`]{/if}

{if $info.hash == 'set'}


[`It is highly advisable to keep product sets with IDs promo and bestsellers, as these set IDs are used by most Shop-Script frontend design themes.`]

{/if}
{$wa->csrf()} [`or`] [`cancel`]
{if $info.hash == 'set'} {include '../dialog/DialogProductListEmbed.html' inline} {/if}
{$title = $title|cat:" — ":{$wa->accountName(false)}}