Rob Gloudemans
|
143d51b22b
|
Make associate() and setTaxRate() return self so it can be chained
|
2016-10-13 12:10:37 +02:00 |
|
Nadir Absemetov
|
2b59ca8f0e
|
Update CartItem.php
Save options value in updateFromArray function
|
2016-10-12 17:24:49 +03:00 |
|
jorge
|
b313f8af43
|
fix falsy format numbers
|
2016-09-07 15:05:06 -04:00 |
|
Rob Gloudemans
|
476f248e8d
|
Merge pull request #202 from jorgejavierleon/config_number_format
Set default number format in config file
|
2016-09-05 08:26:29 +02:00 |
|
Mikhail Lisnyak
|
e801689441
|
add options to buyable methods
|
2016-09-04 12:11:03 +03:00 |
|
jorge
|
03c9fb1791
|
Set default number format in config file
|
2016-08-26 11:08:38 -04:00 |
|
Rob Gloudemans
|
71cb7ce694
|
Working on improved configuration and automatically destroy cart on user logout
|
2016-08-03 19:41:35 +02:00 |
|
kekenec
|
007e941673
|
Fixed return type of "total" function
https://github.com/Crinsane/LaravelShoppingcart/issues/188
|
2016-07-30 18:45:45 +03:00 |
|
Rob Gloudemans
|
3e6195d46c
|
Merge branch 'master' of github.com:Crinsane/LaravelShoppingcart
|
2016-07-14 10:07:48 +02:00 |
|
Rob Gloudemans
|
c0d89c9d2f
|
Always return a Collection when searching
|
2016-07-14 10:05:20 +02:00 |
|
Rob Gloudemans
|
9d8f8c824b
|
Merge pull request #178 from pendalff/master
Fix bug with incorrect call property_exists() in CanBeBought trait
|
2016-07-14 10:04:07 +02:00 |
|
Rob Gloudemans
|
53a1231188
|
Finally updated documentation for version 2
|
2016-07-14 09:53:23 +02:00 |
|
Sem Fukalov
|
8e0674ebbe
|
Fix bug with incorrect call property_exists() in CanBeBought::getBuyableDescription()
|
2016-07-07 20:05:22 +06:00 |
|
Rob Gloudemans
|
0c3c859b6c
|
Add options to array form of CartItem
|
2016-06-30 15:43:08 +02:00 |
|
Matus Rohal
|
04f6e6bf40
|
Added: taxTotal format method
|
2016-06-23 12:35:20 +02:00 |
|
Matus Rohal
|
fb19422a9e
|
Updated: Tax issues + Added methods for CartItem
|
2016-06-23 12:24:33 +02:00 |
|
Rob Gloudemans
|
dcfebb1a40
|
Well...
|
2016-06-15 10:20:37 +02:00 |
|
Rob Gloudemans
|
6c82e21626
|
Make CartItem implement Arrayable contract
|
2016-06-15 10:15:03 +02:00 |
|
Rob Gloudemans
|
c795fa8021
|
Merge pull request #154 from SumonMSelim/develop
#153 (Cannot add zero price) fixed
|
2016-06-15 10:01:34 +02:00 |
|
Rob Gloudemans
|
13fe150b77
|
Return empty collection when the cart is empty
|
2016-06-15 09:59:03 +02:00 |
|
Muhammad Sumon Molla Selim
|
41a3c0311d
|
#153 (Cannot add zero price) fixed
|
2016-06-05 22:20:00 +06:00 |
|
Rakhal Imming
|
9c35432fd2
|
[Fix] Session quantity fix
Row exists in session, sum up the session quantity and the new quantity given to the add method.
|
2016-05-19 14:06:07 +02:00 |
|
Rakhal Imming
|
72174b6974
|
[Fix] ServiceContainer: Bind class to app
|
2016-05-19 10:45:51 +02:00 |
|
Rakhal Imming
|
83fefc2180
|
[Fix] Facade: Added facade to package
|
2016-05-19 10:45:22 +02:00 |
|
Rob Gloudemans
|
0f20bef1af
|
Large update for version 2.0
|
2016-05-12 10:19:38 +02:00 |
|
Rob Gloudemans
|
af184d3e47
|
Updated to Laravel 5
|
2014-10-06 11:04:17 +02:00 |
|
Rob Gloudemans
|
ea2eec4f68
|
Added events, updated tests, some docblock updates and fixed bug on empty search param
|
2014-08-22 10:55:56 +02:00 |
|
Rob Gloudemans
|
47a8b07549
|
Updated search method on collections so they match with the default collection search method signature
|
2014-06-02 11:40:24 +02:00 |
|
Jack McDade
|
d3f73e54da
|
support free products
|
2014-03-19 09:55:51 -04:00 |
|
Rob Gloudemans
|
3f23a0ab7b
|
Merge branch 'master' of git://github.com/Crinsane/LaravelShoppingcart
|
2014-03-02 13:43:22 +01:00 |
|
Rob Gloudemans
|
47da5b128d
|
Added a new associate method, to associate a row in the cart with a model, so you can access the model from the CartRowCollection
|
2014-03-02 13:43:11 +01:00 |
|
Rob Gloudemans
|
42f2dddf8e
|
Fixed bug
|
2014-03-01 19:56:04 +01:00 |
|
Rob Gloudemans
|
30d789f0c0
|
Remove item when qty is a negative number + test, also added test for multiple options
|
2014-03-01 19:52:00 +01:00 |
|
Rob Gloudemans
|
c8e37b805e
|
Fixed tests
|
2014-02-12 20:02:36 +01:00 |
|
Rob Gloudemans
|
160a2e3bd4
|
Removed addBatch method, the add method should be used. Also added events to the cart
|
2013-12-30 22:02:59 +01:00 |
|
Rob Gloudemans
|
628244bdcf
|
Added a few exceptions that will be thrown at the time of errors. Makes for easier debugging. Also updated README accordingly
|
2013-07-27 17:46:57 +02:00 |
|
Rob Gloudemans
|
042ab7a45a
|
Updated incorrect use of ksort(), also fixed unittests
|
2013-07-27 09:55:23 +02:00 |
|
Rob Gloudemans
|
5aa48468e2
|
Split the add() method into 2 methods
|
2013-07-08 23:26:04 +02:00 |
|
Rob Gloudemans
|
30403752ae
|
Updated add() method, it now also accepts an array or a batch array. Mapped addBatch() method to add() method
|
2013-07-08 22:47:40 +02:00 |
|
Edwin
|
eb641093da
|
Convert spaces to tabs.
Signed-off-by: Edwin <tkaw220@gmail.com>
|
2013-07-05 10:01:47 +08:00 |
|
Edwin
|
043e7fb1ce
|
Convert indentation to tabs and change line ending to Unix.
Signed-off-by: Edwin <tkaw220@gmail.com>
|
2013-07-02 11:44:52 +08:00 |
|
Rob Gloudemans
|
7d148ad0ac
|
Removed reference from closure
|
2013-06-06 11:19:52 +02:00 |
|
Rob Gloudemans
|
81c95e5204
|
Added typehint to search method
|
2013-06-03 16:18:59 +02:00 |
|
Rob Gloudemans
|
822ce588f4
|
Updated readme and phpdocs
|
2013-06-03 16:12:08 +02:00 |
|
Rob Gloudemans
|
5ebd3d9cd2
|
Updated the search function, it now does a better search, including options, and it returns the rowid of the found item(s)
|
2013-06-03 16:10:21 +02:00 |
|
Rob Gloudemans
|
d41c69ff80
|
Updated rowid generate function to sort the options array, (better for search function)
|
2013-06-01 08:51:50 +02:00 |
|
Rob Gloudemans
|
c0fadee95b
|
Updated readme and phpdocs
|
2013-05-31 08:05:05 +02:00 |
|
Rob Gloudemans
|
c0210e033a
|
Added a search function
|
2013-05-31 08:00:30 +02:00 |
|
Rob Gloudemans
|
951c4a8b0f
|
Updated Cart::update() method so you can also update the 'options', also added unit test for it
|
2013-05-31 07:28:13 +02:00 |
|
Rob Gloudemans
|
e549a74e1f
|
Updated phpdoc
|
2013-05-30 17:08:29 +02:00 |
|