laravelshoppingcart
laravelshoppingcart copied to clipboard
Shopping Cart Implementation for Laravel Framework
fix bug in calculate subtotal without conditions
Hey ! I was just wondering if there was a way to show the number of items in the cart as a badge on all pages and if so, how...
Hi friends, I there a way to get the cart item with the specific condition applied. For example: Let's say I have 2 items in cart **Item A** **Item B**...
hello I am trying to get the default instance of cart. my route in web.php: Route::get('empty',function(){ Cart::instance('default')->destroy(); }); I hope you can help me with this thanks in advance
message | validation.required exception | Darryldecode\Cart\Exceptions\InvalidItemException file | E:\xampp\htdocs\laravel\vendor\darryldecode\cart\src\Darryldecode\Cart\Cart.php line | 691, After All Item Removed From Cart, Not Able to Add New Product, If have Logout from System, and...
I have some Items and it's need to add for them Condition like "Take Photo" (for example). So I try: ``` $saleCondition = new \Darryldecode\Cart\CartCondition(array( 'name' => 'Take Photo', 'type'...
Hi I am working with the package in a Laravel 7.28.4 project. My problem is that when I work in Homestead the following code works perfectly, but when I pass...
In checkout I thought subtotal was the price of the cart before any conditions applied. That appears to be how using a cart condition works. However if you apply a...
how to fix it
I have gone through the issues but I need wI can do the following 1. store the cart items also in localStorage when adding to cart. I have tried using...