Hi,
I´m trying to make some changes for the way quantity-field and Add to cart-button displays on the frontend-page but can´t see where I shall make the changes in the quantity.php.
See the code under where I think I shall make the changes:
<h5>Antal:</h5>
<div class="hikashop_product_stock">
<?php
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$this->row->product_max_per_order,$this->row->product_min_per_order);
}elseif($this->row->product_quantity>0){
?>
<div class="hikashop_product_stock">
<?php
echo '<span class="hikashop_product_stock_count">'.JText::sprintf('X_ITEMS_IN_STOCK',$this->row->product_quantity).'</span><br/>';
$config =& hikashop_config();
if($config->get('button_style','normal')=='css'){
echo '<br />';
}
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$this->row->product_max_per_order,$this->row->product_min_per_order);
}else{
?>
I want the button displays right under the quantity-field, see attached image!
Edit:
It´seems that I get a way to display it the way I wanted with some css-style on the inputs-element...
/Micke