I add a product to my shooping cart without any problems, BUT when I change the quantity and click on update, the quantity does not change, it stays "1".
I've checked the code in the cart.php file, everything is looking right:
Code: Select all
$product_data[] = array(
'key' => $result['key'],
'name' => $result['name'],
'model' => $result['model'],
'thumb' => $image->resize($result['image'], 50, 50),
'option' => $option_data,
'quantity' => $result['quantity'],
'stock' => $result['stock'],
'price' => $currency->format($tax->calculate($result['total'], $result['tax_class_id'], $config->get('config_tax'))),
'total' => $currency->format($tax->calculate($result['total'] * $result['quantity'], $result['tax_class_id'], $config->get('config_tax'))),
'href' => $url->href('product', FALSE, array('product_id' => $result['product_id']))
);