_tpl_vars['product']['distribution'] == ""): ?>
| _tpl_vars['lng']['lbl_quantity']; ?>
|
_tpl_vars['config']['General']['unlimited_products'] != 'Y' && ( $this->_tpl_vars['product']['avail'] <= 0 || $this->_tpl_vars['product']['avail'] < $this->_tpl_vars['product']['min_amount'] )): ?>
_tpl_vars['lng']['txt_out_of_stock']; ?>
_tpl_vars['config']['General']['unlimited_products'] == 'Y'): ?>
_plugins['function']['math'][0](array('equation' => "x+1",'assign' => 'mq','x' => $this->_tpl_vars['config']['Appearance']['max_select_quantity']), $this) ; ?>
_plugins['function']['math'][0](array('equation' => "x/y",'x' => $this->_tpl_vars['config']['Appearance']['max_select_quantity'],'y' => $this->_tpl_vars['product']['min_amount'],'assign' => 'tmp'), $this) ; ?>
_tpl_vars['tmp'] < 2): ?>
_plugins['function']['assign'][0](array('var' => 'minamount','value' => $this->_tpl_vars['product']['min_amount']), $this) ; ?>
_plugins['function']['assign'][0](array('var' => 'minamount','value' => 0), $this) ; ?>
_plugins['function']['math'][0](array('equation' => "min(maxquantity+minamount, productquantity)+1",'assign' => 'mq','maxquantity' => $this->_tpl_vars['config']['Appearance']['max_select_quantity'],'minamount' => $this->_tpl_vars['minamount'],'productquantity' => $this->_tpl_vars['product']['avail']), $this) ; ?>
|
_tpl_vars;
$this->_smarty_include("customer/main/product_prices.tpl", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
_tpl_vars['config']['General']['unlimited_products'] == 'Y' || ( $this->_tpl_vars['product']['avail'] > 0 && $this->_tpl_vars['product']['avail'] >= $this->_tpl_vars['product']['min_amount'] )): ?>
_tpl_vars['js_enabled']): ?>
_tpl_vars;
$this->_smarty_include("buttons/buy_now.tpl", array('style' => 'button'));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
_tpl_vars['login'] != "" && $this->_tpl_vars['active_modules']['Wishlist'] != ""): ?>
_tpl_vars;
$this->_smarty_include("buttons/add_to_wishlist.tpl", array('style' => 'button'));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
_tpl_vars;
$this->_smarty_include("submit_wo_js.tpl", array('value' => $this->_tpl_vars['lng']['lbl_add_to_cart']));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
|