_plugins['function']['math'][0](array('equation' => "floor(100/x)",'x' => $this->_tpl_vars['config']['Appearance']['products_per_row'],'assign' => 'width'), $this) ; ?>
_sections['product'])) unset($this->_sections['product']);
$this->_sections['product']['name'] = 'product';
$this->_sections['product']['loop'] = is_array($this->_tpl_vars['products']) ? count($this->_tpl_vars['products']) : max(0, (int)$this->_tpl_vars['products']);
$this->_sections['product']['show'] = true;
$this->_sections['product']['max'] = $this->_sections['product']['loop'];
$this->_sections['product']['step'] = 1;
$this->_sections['product']['start'] = $this->_sections['product']['step'] > 0 ? 0 : $this->_sections['product']['loop']-1;
if ($this->_sections['product']['show']) {
$this->_sections['product']['total'] = $this->_sections['product']['loop'];
if ($this->_sections['product']['total'] == 0)
$this->_sections['product']['show'] = false;
} else
$this->_sections['product']['total'] = 0;
if ($this->_sections['product']['show']):
for ($this->_sections['product']['index'] = $this->_sections['product']['start'], $this->_sections['product']['iteration'] = 1;
$this->_sections['product']['iteration'] <= $this->_sections['product']['total'];
$this->_sections['product']['index'] += $this->_sections['product']['step'], $this->_sections['product']['iteration']++):
$this->_sections['product']['rownum'] = $this->_sections['product']['iteration'];
$this->_sections['product']['index_prev'] = $this->_sections['product']['index'] - $this->_sections['product']['step'];
$this->_sections['product']['index_next'] = $this->_sections['product']['index'] + $this->_sections['product']['step'];
$this->_sections['product']['first'] = ($this->_sections['product']['iteration'] == 1);
$this->_sections['product']['last'] = ($this->_sections['product']['iteration'] == $this->_sections['product']['total']);
?>
_sections['product']['index'] % $this->_tpl_vars['config']['Appearance']['products_per_row'])): ?>
_plugins['function']['assign'][0](array('var' => 'cell_counter','value' => 0), $this) ; ?>
_plugins['function']['math'][0](array('equation' => "x+1",'x' => $this->_tpl_vars['cell_counter'],'assign' => 'cell_counter'), $this) ; ?>
_tpl_vars['products'][$this->_sections['product']['index']]['product']; ?>
_tpl_vars['lng']['lbl_see_details']; ?>
_tpl_vars['active_modules']['Subscriptions'] != "" && $this->_tpl_vars['products'][$this->_sections['product']['index']]['catalogprice']): ?>
_tpl_vars;
$this->_smarty_include("modules/Subscriptions/subscription_info_inlist.tpl", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
_tpl_vars['products'][$this->_sections['product']['index']]['price'] != 0): ?>
_tpl_vars['products'][$this->_sections['product']['index']]['list_price'] > 0 && $this->_tpl_vars['products'][$this->_sections['product']['index']]['price'] < $this->_tpl_vars['products'][$this->_sections['product']['index']]['list_price']): ?>
_plugins['function']['math'][0](array('equation' => "100-(price/lprice)*100",'price' => $this->_tpl_vars['products'][$this->_sections['product']['index']]['price'],'lprice' => $this->_tpl_vars['products'][$this->_sections['product']['index']]['list_price'],'format' => "%d",'assign' => 'discount'), $this) ; ?>
_tpl_vars['lng']['lbl_market_price']; ?>
:
_tpl_vars;
$this->_smarty_include("currency.tpl", array('value' => $this->_tpl_vars['products'][$this->_sections['product']['index']]['list_price']));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
_tpl_vars['lng']['lbl_our_price']; ?>
: _tpl_vars;
$this->_smarty_include("currency.tpl", array('value' => $this->_tpl_vars['products'][$this->_sections['product']['index']]['price']));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?> _tpl_vars;
$this->_smarty_include("customer/main/alter_currency_value.tpl", array('alter_currency_value' => $this->_tpl_vars['products'][$this->_sections['product']['index']]['price']));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>_tpl_vars['products'][$this->_sections['product']['index']]['list_price'] > 0 && $this->_tpl_vars['products'][$this->_sections['product']['index']]['price'] < $this->_tpl_vars['products'][$this->_sections['product']['index']]['list_price']): ?>, save _tpl_vars['discount']; ?>
%_tpl_vars['config']['Taxes']['use_vat'] == 'Y' && $this->_tpl_vars['products'][$this->_sections['product']['index']]['vat'] > '0'): ?>, _tpl_vars['lng']['lbl_including_vat']; ?>
_tpl_vars['products'][$this->_sections['product']['index']]['vat']; ?>
%
_tpl_vars['lng']['lbl_enter_your_price']; ?>
|
_plugins['function']['math'][0](array('equation' => "index+x+1",'index' => $this->_sections['product']['index'],'x' => $this->_tpl_vars['config']['Appearance']['products_per_row']), $this) ; ?>
_smarty_vars['capture']['prod_index'] = ob_get_contents(); ob_end_clean(); ?>
_smarty_vars['capture']['prod_index'] % $this->_tpl_vars['config']['Appearance']['products_per_row'])): ?>
_tpl_vars['cell_counter'] < $this->_tpl_vars['config']['Appearance']['products_per_row']): ?>
_sections['rest_cells'])) unset($this->_sections['rest_cells']);
$this->_sections['rest_cells']['name'] = 'rest_cells';
$this->_sections['rest_cells']['loop'] = is_array($this->_tpl_vars['config']['Appearance']['products_per_row']) ? count($this->_tpl_vars['config']['Appearance']['products_per_row']) : max(0, (int)$this->_tpl_vars['config']['Appearance']['products_per_row']);
$this->_sections['rest_cells']['start'] = (int)$this->_tpl_vars['cell_counter'];
$this->_sections['rest_cells']['show'] = true;
$this->_sections['rest_cells']['max'] = $this->_sections['rest_cells']['loop'];
$this->_sections['rest_cells']['step'] = 1;
if ($this->_sections['rest_cells']['start'] < 0)
$this->_sections['rest_cells']['start'] = max($this->_sections['rest_cells']['step'] > 0 ? 0 : -1, $this->_sections['rest_cells']['loop'] + $this->_sections['rest_cells']['start']);
else
$this->_sections['rest_cells']['start'] = min($this->_sections['rest_cells']['start'], $this->_sections['rest_cells']['step'] > 0 ? $this->_sections['rest_cells']['loop'] : $this->_sections['rest_cells']['loop']-1);
if ($this->_sections['rest_cells']['show']) {
$this->_sections['rest_cells']['total'] = min(ceil(($this->_sections['rest_cells']['step'] > 0 ? $this->_sections['rest_cells']['loop'] - $this->_sections['rest_cells']['start'] : $this->_sections['rest_cells']['start']+1)/abs($this->_sections['rest_cells']['step'])), $this->_sections['rest_cells']['max']);
if ($this->_sections['rest_cells']['total'] == 0)
$this->_sections['rest_cells']['show'] = false;
} else
$this->_sections['rest_cells']['total'] = 0;
if ($this->_sections['rest_cells']['show']):
for ($this->_sections['rest_cells']['index'] = $this->_sections['rest_cells']['start'], $this->_sections['rest_cells']['iteration'] = 1;
$this->_sections['rest_cells']['iteration'] <= $this->_sections['rest_cells']['total'];
$this->_sections['rest_cells']['index'] += $this->_sections['rest_cells']['step'], $this->_sections['rest_cells']['iteration']++):
$this->_sections['rest_cells']['rownum'] = $this->_sections['rest_cells']['iteration'];
$this->_sections['rest_cells']['index_prev'] = $this->_sections['rest_cells']['index'] - $this->_sections['rest_cells']['step'];
$this->_sections['rest_cells']['index_next'] = $this->_sections['rest_cells']['index'] + $this->_sections['rest_cells']['step'];
$this->_sections['rest_cells']['first'] = ($this->_sections['rest_cells']['iteration'] == 1);
$this->_sections['rest_cells']['last'] = ($this->_sections['rest_cells']['iteration'] == $this->_sections['rest_cells']['total']);
?>
|
|