mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-03-13 05:34:51 +00:00
Make the CartItem aware of its cart instance
This commit is contained in:
@@ -813,6 +813,8 @@ class Cart
|
||||
$cartItem->setQuantity($qty);
|
||||
}
|
||||
|
||||
$cartItem->setInstance($this->instance);
|
||||
|
||||
return $cartItem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user