You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I started trying to use your package in my application. Thanks.
I would like that when linking the model:
LaraCart::add($product-> id, $product->name,1, $product->price, $cart['options'])->setModel(Product::class);
the currently added item to the cart was returned to us, but this does not happen since setModel () returns null.
There is also a problem with adding two identical products, which should be combined in quantity with each other, but this does not happen, but an error occurs:
"Call to a member function setModel () on null".
The error always appears when adding the same product to the cart a second time.
Hi I started trying to use your package in my application. Thanks.
I would like that when linking the model:
LaraCart::add($product-> id, $product->name,1, $product->price, $cart['options'])->setModel(Product::class);
the currently added item to the cart was returned to us, but this does not happen since setModel () returns null.
Why you need to do a similar design
Thanks
The text was updated successfully, but these errors were encountered: