Update CartItem.php

This commit is contained in:
Patrick
2022-02-05 19:22:07 +01:00
committed by GitHub
parent 8b9335fb5b
commit edc4a51258

View File

@@ -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());
}
/**