Commit Graph

68 Commits

Author SHA1 Message Date
Patrick Henninger
388951d289 Fixed cart calculation methods 2018-12-21 17:32:55 +01:00
Patrick Henninger
9e4c6c4a71 Adjusted calcualtion tests need specific discount tests 2018-12-21 15:52:00 +01:00
Patrick Henninger
48df3f5d74 Adjusted for global discount
Fixed tests for Laravel 5.7
2018-12-21 15:18:27 +01:00
John Markese
803703d170 Update CartItem.php
Fix fatal error caused by instantiating a null associatedModel.
2017-08-22 10:29:39 -05:00
Rob Gloudemans
39de887e09 Made CartItem implement Jsonable, so it can be cast to json by laravel when building a response 2017-05-21 16:38:33 +02:00
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
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
Muhammad Sumon Molla Selim
41a3c0311d #153 (Cannot add zero price) fixed 2016-06-05 22:20:00 +06:00
Rob Gloudemans
0f20bef1af Large update for version 2.0 2016-05-12 10:19:38 +02:00