Hallo Philip,
This workaround helped.I posted it to the guys of gavick and they said, this is Hikashop Core Code.
Can you give me advice.
best regards
Maurizio
Hello,
I commented out code in /components/com_hikashop/views/product/tmpl/show_quantity.php at line 59
Everything works fine as far as i can see.
Shop is not yet in productive mode.
Regards
$extra_classes = '';
from here:
if($this->config->get('synchronized_add_to_cart', 0)) {
$cartClass = hikashop_get('class.cart');
$cartProductData = $cartClass->getCartProductData($this->row->product_id);
$this->row->synched_cart_quantity = (int)@$cartProductData->cart_product_quantity;
if($quantityLayout == 'show_default')
$quantityLayout = 'show_default_div';
if($this->row->synched_cart_quantity)
$current_quantity = $this->row->synched_cart_quantity;
if($min_quantity == 1)
$min_quantity = 0;
$cartClass->syncInit();
if(in_array($quantityLayout, array('show_select','show_select_price')))
$extra_classes = 'no-chzn';
to here
?>
<input id="<?php echo $id; ?>_synch" class="synchronized_add_to_cart" data-id="<?php echo $id; ?>" data-product-id="<?php echo $this->row->product_id; ?>" data-cart-product-id="<?php echo @$cartProductData->cart_product_id; ?>" type="hidden" name="synched_cart_quantity" value="<?php echo $this->row->synched_cart_quantity; ?>"/>
<?php
}