{strip} {$_uniqid = uniqid()} {$_rule_name = ""} {if !empty($rule.id)} {$_rule_name = "rules[{$rule.id}]"} {else} {$_rule_name = "rules[new]"} {if isset($options.ident)} {$_rule_name = "{$_rule_name}[{$options.ident}]"} {/if} {/if} {/strip}
[`Use the form below to set up extra rules for ordinary and purchase prices which should apply while this promo is active.`]
[`Add product`]:
{sprintf("[`or add from “%s” section`]", "[`Products`]")}
{if !empty($products)} {foreach $products as $_product} {$_rule_product_data = $rule.rule_params[$_product.id]|default:[]} {include file="./custom_price.product.html" product=$_product rule_name=$_rule_name rule_product_data=$_rule_product_data inline} {/foreach} {/if}
[`Promo prices are not a discount.`] {shopHinter::hint('marketing_promo_stock_price_products')}
[`Products`] [`Default prices`] [`Promo’s prices`]
[`No products in this tool. First add products please.`]
{capture assign="_custom_price_delete_dialog_template"}{include file="./custom_price_delete.dialog.html"}{/capture} {capture assign="_custom_price_confirm_dialog_template"}{include file="./custom_price_confirm.dialog.html"}{/capture} {$_templates = [ 'custom_price_delete_dialog' => $_custom_price_delete_dialog_template, 'custom_price_confirm_dialog' => $_custom_price_confirm_dialog_template ]}