mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +00:00
@@ -116,7 +116,7 @@ class Cart
|
|||||||
*
|
*
|
||||||
* @param string $rowId
|
* @param string $rowId
|
||||||
* @param mixed $qty
|
* @param mixed $qty
|
||||||
* @return void
|
* @return \Gloudemans\Shoppingcart\CartItem
|
||||||
*/
|
*/
|
||||||
public function update($rowId, $qty)
|
public function update($rowId, $qty)
|
||||||
{
|
{
|
||||||
@@ -151,6 +151,8 @@ class Cart
|
|||||||
$this->events->fire('cart.updated', $cartItem);
|
$this->events->fire('cart.updated', $cartItem);
|
||||||
|
|
||||||
$this->session->put($this->instance, $content);
|
$this->session->put($this->instance, $content);
|
||||||
|
|
||||||
|
return $cartItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user