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