<p> <label><?php echo smarty_function_toolTip(array('label' => '_discount_limit', 'hint' => '_discount_limit_descr'), $this); ?> </label> <span><?php echo smarty_function_textfield(array('name' => 'discountLimit', 'class' => 'number discountLimit'), $this); ?> </span> </p> <label></label> <span> <input type="checkbox" class="checkbox isOrderLevel" name="isOrderLevel" /> <label class="checkbox"><?php echo smarty_function_toolTip(array('label' => '_is_order_level', 'hint' => '_discount_isOrderLevel_descr'), $this); ?> </label> </span> <div class="clear"></div> </div> <div class="actionFields"> <?php $_from = $this->_tpl_vars['actionFields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['actionClass'] => $this->_tpl_vars['fields']) { ?>
"> <table id="quantityPricing_<?php echo $this->_tpl_vars['currency']; ?> _<?php echo $this->_tpl_vars['product']['ID']; ?> "> <thead> <tr class="quantityRow"><td> <div class="quantityLabel"><?php echo smarty_function_toolTip(array('label' => '_quantity'), $this); ?> ▸</div> <div class="groupLabel">▾ <?php echo smarty_function_toolTip(array('label' => '_group'), $this); ?> </div> </td> <td><input type="text" class="text quantity number" name="qQuantity[<?php echo $this->_tpl_vars['currency']; ?> ][]" /></td></tr> </thead> <tbody> <tr><td class="groupColumn"><?php ob_start(); echo $this->_tpl_vars['currency']; $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('blockAsParamValue', ob_get_contents()); ob_end_clean();
while ($_block_repeat) { ob_start(); ?> readonly="readonly"<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat = false; echo smarty_block_denied($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> /> </p> <p> <label class="translation_valueSuffix_label sufixAndPrefix"><?php echo smarty_function_toolTip(array('label' => '_SpecField_valueSuffix'), $this); ?> </label> <input type="text" class="sufixAndPrefix" name="valueSuffix_<?php echo $this->_tpl_vars['lang']['ID']; ?> " <?php $this->_tag_stack[] = array('denied', array('role' => "category.update")); $_block_repeat = true; smarty_block_denied($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> readonly="readonly"<?php $_block_content = ob_get_contents(); ob_end_clean();
</p> <p> <label></label> <?php echo smarty_function_checkbox(array('name' => 'isAllVariations', 'class' => 'checkbox', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isAllVariations"), $this); ?> <label for="product_<?php echo $this->_tpl_vars['cat']; ?> _<?php echo $this->_tpl_vars['product']['ID']; ?> _isAllVariations" class="checkbox"><?php echo smarty_function_toolTip(array('label' => '_allow_all_variations'), $this); ?> </label> </p> </fieldset> </td><td> <div class="productForm <?php if (1 == $this->_tpl_vars['product']['type']) { ?> intangible<?php } ?> "> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/product/form/inventory.tpl", 'smarty_include_vars' => array('product' => $this->_tpl_vars['product'], 'cat' => $this->_tpl_vars['product']['Category']['ID'], 'baseCurrency' => $this->_tpl_vars['baseCurrency'], 'form' => $this->_tpl_vars['productForm'])));
?> :</label> <fieldset class="error"> <?php echo smarty_function_textfield(array('name' => 'minimumQuantity', 'id' => "product_minimumQuantity_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'], 'class' => 'number'), $this); ?> <div class="errorText hidden"></div> </fieldset> </p> <p> <label for="product_<?php echo $this->_tpl_vars['cat']; ?> _<?php echo $this->_tpl_vars['product']['ID']; ?> _fractionalStep"><?php echo smarty_function_toolTip(array('label' => '_fractionalStep', 'hint' => '_hint_fractionalStep'), $this); ?> :</label> <fieldset class="error"> <?php echo smarty_function_textfield(array('name' => 'fractionalStep', 'class' => 'number', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_fractionalStep"), $this); ?> <div class="errorText hidden"></div> </fieldset> </p> </fieldset>
<?php ob_start(); echo smarty_function_maketext(array('text' => '_parent_theme_x', 'params' => $this->_sections['parents']['index']), $this); $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('label', ob_get_contents()); ob_end_clean(); ?> <?php if ($this->_sections['parents']['index'] == 1) { $this->assign('tipIndex', '1'); } else { $this->assign('tipIndex', '2'); } ?> <label><?php echo smarty_function_toolTip(array('label' => $this->_tpl_vars['label'], 'hint' => "_tip_parent_" . $this->_tpl_vars['tipIndex']), $this); ?> :</label> <?php echo smarty_function_selectfield(array('name' => "parent_" . $this->_sections['parents']['index'], 'options' => $this->_tpl_vars['themes'], 'blank' => true), $this); ?> </p> <?php } } ?> </fieldset> <fieldset class="controls"> <input type="hidden" name="id" value="<?php
</label> </p> <div class="stockCount"> <p <?php if (is_array($_tmp = $this->_tpl_vars['form']) ? $this->_run_mod_handler('isRequired', true, $_tmp, 'stockCount') : smarty_modifier_isRequired($_tmp, 'stockCount')) { ?> class="required"<?php } ?> > <label for="product_stockCount_<?php echo $this->_tpl_vars['cat']; ?> _<?php echo $this->_tpl_vars['product']['ID']; ?> "><?php echo smarty_function_toolTip(array('label' => '_items_in_stock'), $this); ?> :</label> <fieldset class="error"> <?php echo smarty_function_textfield(array('name' => 'stockCount', 'class' => 'number', 'id' => "product_stockCount_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID']), $this); ?> <div class="errorText hidden"></div> </fieldset> </p> </div> </fieldset>
_position"><?php echo smarty_function_toolTip(array('label' => '_sort_order', 'hint' => '_hint_sort_order'), $this); ?> :</label> <fieldset class="error"> <?php echo smarty_function_textfield(array('name' => 'position', 'class' => 'number', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_position"), $this); ?> <div class="errorText hidden"></div> </fieldset> </p> <p> <label></label> <?php echo smarty_function_checkbox(array('name' => 'isFeatured', 'class' => 'checkbox', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isfeatured"), $this); ?> <label for="product_<?php echo $this->_tpl_vars['cat']; ?> _<?php echo $this->_tpl_vars['product']['ID']; ?> _isfeatured" class="checkbox"><?php echo smarty_function_toolTip(array('label' => '_mark_as_featured_product', 'hint' => '_hint_featured'), $this); ?> </label> </p> </fieldset>
</option> </select> <span class="errorText hidden"> </span> </fieldset> </p> <!-- STEP 2 --> <fieldset class="filter_step_lev1 filter_step_filters error"> <legend><?php echo smarty_function_translate(array('text' => '_filters'), $this); ?> </legend> <p> <fieldset class="group filter_form_filters_group"> <h2 class="filter_filters_title"><?php echo smarty_function_toolTip(array('label' => '_Filter_filters'), $this); ?> </h2> <div class="filter_filters"> <p> <ul class="<?php $this->_tag_stack[] = array('allowed', array('role' => "category.update")); $_block_repeat = true; smarty_block_allowed($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> activeList_add_sort activeList_add_delete<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat = false;
<legend><?php echo smarty_function_translate(array('text' => '_main_info'), $this); ?> </legend> <p> <label></label> <?php echo smarty_function_checkbox(array('name' => 'isEnabled', 'class' => 'checkbox', 'id' => "isEnabled_" . $this->_tpl_vars['condition']['ID']), $this); ?> <label for="isEnabled_<?php echo $this->_tpl_vars['condition']['ID']; ?> " class="checkbox"><?php echo smarty_function_toolTip(array('label' => '_is_enabled', 'hint' => '_tip_is_enabled_condition'), $this); ?> </label> </p> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/discount/conditionForm.tpl", 'smarty_include_vars' => array('id' => "userInfo_" . $this->_tpl_vars['condition']['ID'] . "_form"))); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <fieldset class="controls"> <span class="progressIndicator" style="display: none;"></span> <input type="submit" name="save" class="submit" value="<?php echo smarty_function_translate(array('text' => '_save'), $this);
echo smarty_function_toolTip(array('label' => '_list_style'), $this); ?> :</label> <?php echo smarty_function_selectfield(array('name' => 'listStyle', 'id' => "listStyle_" . $this->_tpl_vars['categoryId'], 'options' => $this->_tpl_vars['listStyles']), $this); ?> </p> <div style="float: left; width: 550px;"> <p> <label for="theme_<?php echo $this->_tpl_vars['categoryId']; ?> "><?php echo smarty_function_toolTip(array('label' => '_theme'), $this); ?> :</label> <?php echo smarty_function_selectfield(array('name' => 'theme', 'id' => "theme_" . $this->_tpl_vars['categoryId'], 'options' => $this->_tpl_vars['themes']), $this); ?> </p> </div> <div style="float: left;" id="categoryThemePreview_<?php echo $this->_tpl_vars['categoryId']; ?> "></div> </fieldset>
<script language="text/javascript"> Backend.Discount.Editor.prototype.initDiscountForm('<?php echo $this->_tpl_vars['id']; ?> '); </script> <?php $this->_tag_stack[] = array('language', array()); $_block_repeat = true; smarty_block_language($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <div class="field"> <label><?php echo smarty_function_toolTip(array('label' => "DiscountCondition.name"), $this); ?> </label> <?php echo smarty_function_textfield(array('name' => "name_" . $this->_tpl_vars['lang']['ID']), $this); ?> </div> <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat = false; echo smarty_block_language($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack);
?> "><?php echo smarty_function_toolTip(array('label' => $this->_tpl_vars['currency'], 'hint' => '_tip_secondary_currency_price'), $this); ?> :</label> <fieldset class="error"> <?php echo smarty_function_textfield(array('name' => "price_" . $this->_tpl_vars['currency'], 'class' => 'money price', 'id' => "product_price_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_" . $this->_tpl_vars['currency']), $this); ?> <?php echo $this->_tpl_vars['currency']; ?> <span class="listPrice"> <?php echo smarty_function_toolTip(array('label' => '_list_price'), $this); ?> : <?php echo smarty_function_textfield(array('name' => "listPrice_" . $this->_tpl_vars['currency'], 'class' => 'money', 'id' => "product_listPrice_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_" . $this->_tpl_vars['currency']), $this); ?> </span> <a href="" class="menu setQuantPrice" style="display: none;"><?php echo smarty_function_translate(array('text' => '_set_quant'), $this); ?> </a> <div class="errorText hidden"></div> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/product/form/quantityPricing.tpl", 'smarty_include_vars' => array('currency' => $this->_tpl_vars['currency'])));
<div class="productOption_values"> <p> <ul class="activeList_add_sort activeList_add_delete"> <li class="dom_template productOption_form_values_value singleInput productOption_update" id="productOption_form_values_" style="display: block;"> <p> <label><?php echo smarty_function_toolTip(array('label' => '_option_name'), $this); ?> </label> <fieldset class="container"> <input type="text" class="productOption_update productOption_valueName" /> <span class="errorText hidden"> </span> </fieldset> <p> <label><?php echo smarty_function_toolTip(array('label' => '_option_price_diff'), $this); ?> </label> <input type="text" class="number productOption_valuePrice" /> <?php echo $this->_tpl_vars['defaultCurrencyCode']; ?> </p> <br class="clear" /> </li> </ul> </p> <p class="productOption_values_controls"> <a href="#add" class="productOption_add_field"><?php echo smarty_function_translate(array('text' => '_ProductOption_add_values'), $this);