mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update CartItem.php
This commit is contained in:
@@ -110,7 +110,7 @@ class CartItem implements Arrayable, Jsonable
|
|||||||
$this->qty = $qty;
|
$this->qty = $qty;
|
||||||
$this->weight = $weight;
|
$this->weight = $weight;
|
||||||
$this->options = $options ?: new CartItemOptions([]);
|
$this->options = $options ?: new CartItemOptions([]);
|
||||||
$this->rowId = $this->generateRowId($id, $options);
|
$this->rowId = $this->generateRowId($id, $options->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user