mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-17 13:14:58 +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