cart
cart copied to clipboard
Shopping cart composer package
One thing that I'm in desperate need for is a Coupon functionality ... To be able to use a coupon to give a overall cart (or even product specific) discount....
Maybe some nice way of changing the session/storage identifier key, so you can modify it, to avoid name collision. without changing the source of the storage driver.
add $new property to cart. Now method restore from Session Storage return bool, true when cart is restored.
Neither Cart::update($id, 'price', $price); nor Cart::item($id)->update('price',$price); triggers saving to a storage, therefore on next Cart construction the updates are lost. I initially wanted to add another method to a storage...
Hello i have implement this class with no success. Here my code, no errors, no warnings, only blank screen. ``` PHP require_once('vendor/autoload.php'); use Moltin\Cart\Cart; use Moltin\Cart\Storage\Session; use Moltin\Cart\Identifier\Cookie; function shopping_items()...
Currently it is possible to add any custom data to an item, but I think we need to allow the ability to add custom data to the entire cart object....
This is primarily to allow Twig to access the properties of Item http://twig.sensiolabs.org/doc/recipes.html#using-dynamic-object-properties
Hi Am having the product with different size and different price values. How to show it in the basket. I tried but it shows single ID with all value appended...
Hi, i ask you if it's possibile make something like cookie::forever of Laravel. The point is, and i ask you some days ago, i need to stay saved somewehere the...
I'm having an issue (or me not understanding) how to to save more than one item to my database. If i die and dump `Cart::contents()` i get the following: which...