LaravelShoppingcart
LaravelShoppingcart copied to clipboard
A simple shopping cart implementation for Laravel
Hello, This problem touches on all versions because this is a PHP floating point behaviour. Usually when dealing with prices all plugins must multiply prices by 100 and deal with...
For some reasons, I have a requirement of expiring the cart in 5 minutes. I didnt find it in config/cart.php. Is there any option for this?
if, in the cart, I change the quantity of an item that has an addon, the single price is not updated correctly because the price of the addon is not...
Hi, I was trying to get the associated model from the cart item with `$cartItem->model`. However, it returns null. I have seen that in CartItem class there is a call...
Hi, The package seems very powerful to me, congrats. I understand that you cannot satisfy everyone by adding new functions, each e-shop is different and many require almost unique solutions....
Hey, good work on the repo! Only just found this after forking the original repo myself and updating it to work with Laravel 5.8. I've currently also modified the package...
Currently the tax in this package is calculated like this; ```php case 'tax': return round($this->priceTarget * ($this->taxRate / 100), $decimals); case 'priceTax': return round($this->priceTarget + $this->tax, $decimals); ``` But in...
The `Cart::erase()` method has no unit test affecting coverage and production security. The `Cart::erase()` method should have a unit test verifying its functionality. To verify: - Create Cart with known...