mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Add options to array form of CartItem
This commit is contained in:
@@ -343,6 +343,7 @@ class CartItem implements Arrayable
|
|||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'qty' => $this->qty,
|
'qty' => $this->qty,
|
||||||
'price' => $this->price,
|
'price' => $this->price,
|
||||||
|
'options' => $this->options,
|
||||||
'tax' => $this->tax,
|
'tax' => $this->tax,
|
||||||
'subtotal' => $this->subtotal
|
'subtotal' => $this->subtotal
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user