_tpl_vars; $this->_smarty_include("main/popup_product_js.tpl", array()); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> This section allows you to define featured products which will be shown under this category. To add a product to the list please enter the ProductID in the textfield and click 'Add/Update' button.

_sections['prod_num'])) unset($this->_sections['prod_num']); $this->_sections['prod_num']['name'] = 'prod_num'; $this->_sections['prod_num']['loop'] = is_array($this->_tpl_vars['products']) ? count($this->_tpl_vars['products']) : max(0, (int)$this->_tpl_vars['products']); $this->_sections['prod_num']['show'] = true; $this->_sections['prod_num']['max'] = $this->_sections['prod_num']['loop']; $this->_sections['prod_num']['step'] = 1; $this->_sections['prod_num']['start'] = $this->_sections['prod_num']['step'] > 0 ? 0 : $this->_sections['prod_num']['loop']-1; if ($this->_sections['prod_num']['show']) { $this->_sections['prod_num']['total'] = $this->_sections['prod_num']['loop']; if ($this->_sections['prod_num']['total'] == 0) $this->_sections['prod_num']['show'] = false; } else $this->_sections['prod_num']['total'] = 0; if ($this->_sections['prod_num']['show']): for ($this->_sections['prod_num']['index'] = $this->_sections['prod_num']['start'], $this->_sections['prod_num']['iteration'] = 1; $this->_sections['prod_num']['iteration'] <= $this->_sections['prod_num']['total']; $this->_sections['prod_num']['index'] += $this->_sections['prod_num']['step'], $this->_sections['prod_num']['iteration']++): $this->_sections['prod_num']['rownum'] = $this->_sections['prod_num']['iteration']; $this->_sections['prod_num']['index_prev'] = $this->_sections['prod_num']['index'] - $this->_sections['prod_num']['step']; $this->_sections['prod_num']['index_next'] = $this->_sections['prod_num']['index'] + $this->_sections['prod_num']['step']; $this->_sections['prod_num']['first'] = ($this->_sections['prod_num']['iteration'] == 1); $this->_sections['prod_num']['last'] = ($this->_sections['prod_num']['iteration'] == $this->_sections['prod_num']['total']); ?>
Pos.Product nameActive
_tpl_vars['products'][$this->_sections['prod_num']['index']]['productid']; ?> size=2 value="_tpl_vars['products'][$this->_sections['prod_num']['index']]['product_order']; ?> "> _tpl_vars['products'][$this->_sections['prod_num']['index']]['product']; ?> _tpl_vars['products'][$this->_sections['prod_num']['index']]['productid']; ?> _tpl_vars['products'][$this->_sections['prod_num']['index']]['avail'] == 'Y'): ?>checked>
Add product

_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean(); ?> _tpl_vars; $this->_smarty_include("dialog.tpl", array('title' => 'Featured products','content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=100%")); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>