From 0c3c859b6c8b55d6cd6be118cb96bc0c8f37063c Mon Sep 17 00:00:00 2001 From: Rob Gloudemans Date: Thu, 30 Jun 2016 15:43:08 +0200 Subject: [PATCH] Add options to array form of CartItem --- src/CartItem.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CartItem.php b/src/CartItem.php index 46c3309c..9824cf66 100644 --- a/src/CartItem.php +++ b/src/CartItem.php @@ -343,8 +343,9 @@ public function toArray() 'name' => $this->name, 'qty' => $this->qty, 'price' => $this->price, + 'options' => $this->options, 'tax' => $this->tax, 'subtotal' => $this->subtotal ]; } -} \ No newline at end of file +}