Skip to content

Commit

Permalink
Add options to array form of CartItem
Browse files Browse the repository at this point in the history
  • Loading branch information
Crinsane authored Jun 30, 2016
1 parent 1c4e6c6 commit 0c3c859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CartItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}
}
}

0 comments on commit 0c3c859

Please sign in to comment.