Commit Graph

78 Commits

Author SHA1 Message Date
Rob Gloudemans
18c3477583 Added another test for all calculated values 2016-06-23 08:24:01 +02:00
Rob Gloudemans
c981572626 Added test for toArray() 2016-06-15 10:19:24 +02:00
Rob Gloudemans
13fe150b77 Return empty collection when the cart is empty 2016-06-15 09:59:03 +02:00
Rob Gloudemans
bd7a2ce807 Added test to confirm bugfix in 5af3e90228 2016-05-19 15:21:13 +02:00
Rob Gloudemans
0f20bef1af Large update for version 2.0 2016-05-12 10:19:38 +02:00
Rob Gloudemans
d2ba5aff19 Update 2015-02-19 15:36:24 +01:00
Rob Gloudemans
51be26f5ce Added tests for numeric ids 2014-12-06 15:06:38 +01:00
Rob Gloudemans
af184d3e47 Updated to Laravel 5 2014-10-06 11:04:17 +02:00
Rob Gloudemans
909d54baa6 Fixed tests for php53 2014-08-22 11:00:06 +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
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
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
682968587a Fixed test for php5.3 2014-02-12 20:28:38 +01:00
Rob Gloudemans
1b7c78c062 Changed new array syntax to old array syntax for php5.3 2014-02-12 20:18:48 +01:00
Rob Gloudemans
f65e036c66 Updated test class 2014-02-12 20:07:16 +01:00
Rob Gloudemans
c8e37b805e Fixed tests 2014-02-12 20:02:36 +01:00
Rob Gloudemans
7799ab30a2 Updated unit tests for search 2013-07-30 08:55:26 +02: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
a385410367 Changed array syntax in tests to array() 2013-07-09 15:23:04 +02:00
Rob Gloudemans
b30f64e40c Updated unit tests 2013-07-08 22:47:54 +02: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
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
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
13f22ef098 Updated unit tests 2013-05-30 16:59:36 +02:00
Rob Gloudemans
c6473310d2 Added possibility to have multiple cart instances 2013-05-28 22:26:25 +02:00
Rob Gloudemans
fa7e90e48a Initial commit 2013-05-22 20:12:34 +02:00