From 9a69a2144cb80b3f81efba8433a5dc1474c2f7bb Mon Sep 17 00:00:00 2001 From: FutureFutureTo Date: Thu, 23 Aug 2018 13:02:36 -0400 Subject: [PATCH] Update CartItem.php --- src/CartItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CartItem.php b/src/CartItem.php index 64e2cf68..b8706c83 100644 --- a/src/CartItem.php +++ b/src/CartItem.php @@ -213,7 +213,7 @@ public function updateFromArray(array $attributes) $this->priceTax = $this->price + $this->tax; $this->options = new CartItemOptions(array_get($attributes, 'options', $this->options)); - $this->rowId = $this->generateRowId($this->id, $this->options->all()); + $this->rowId = array_get($attributes, 'rowId', $this->rowId); } /**