{$new = false} {if !$settings.id}{$new = true}{/if}

{$settings.name|default:_w('New set')|escape}

{*SET NAME*}
[`Name`]
{if !empty($event_dialog)}{foreach $event_dialog as $plugin_id => $plugin_html}{$plugin_html}{/foreach}{/if}
[`Set ID`]
{$wa->shop->productSet("")}

[`Set ID is used in the code for embedding product set into frontend design templates and pages.`] {if !$new}[`Changing the set ID will not automatically update templates and pages in which this code is embedded, so be sure to update them if you change the ID.`]

{/if} {if $settings.id == 'promo' || $settings.id == 'bestsellers'}

[`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}
{if $new}
[`Type`]
{else} {/if} {if $settings.type == shopSetModel::TYPE_DYNAMIC || $new}
{if $new}[`Product filtering`]{else}[`Dynamic set rule`]{/if}
[`Select products by orders from date`]

[`Products will be selected from orders paid on or after specified date.`]
[`Select products by orders until date`]

[`Products will be selected from orders paid on or before specified date.`]
[`Max number of products`]

[`Limit the maximum number of products in this set`]

{/if}
[`or`] [`cancel`]
{$wa->csrf()}