From edc4a5125878bf182123e794045c124d8af43787 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 5 Feb 2022 19:22:07 +0100 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 826e5c4..6e82f73 100644 --- a/src/CartItem.php +++ b/src/CartItem.php @@ -110,7 +110,7 @@ class CartItem implements Arrayable, Jsonable $this->qty = $qty; $this->weight = $weight; $this->options = $options ?: new CartItemOptions([]); - $this->rowId = $this->generateRowId($id, $options); + $this->rowId = $this->generateRowId($id, $options->toArray()); } /**