moltin / laravel-cart

Laravel Facade and Service Provider for Moltin\Cart
276 stars 87 forks source link

how to use options? #15

Closed qcol closed 10 years ago

qcol commented 10 years ago

At bottom of readme I see "hasOptions"... but how to use options in cart? How to add options?

chrisnharvey commented 10 years ago

Just add an "options" array when inserting or updating an item. But note that when two items have the same id but different options then these are counted as two separate items in the cart.

Sent from my iPhone

On 14 Feb 2014, at 09:38 pm, qcol notifications@github.com wrote:

At bottom of readme I see "hasOptions"... but how to use options in cart? How to add options?

Reply to this email directly or view it on GitHubhttps://github.com/moltin/laravel-cart/issues/15 .