Patrick Henninger
1499475663
Replaced deprecated OR operator https://getcomposer.org/doc/articles/versions.md#version-range
...
Added 5.8.* compatibility
Updated dependency versions
Added phpunit result cache to gitignore
2019-03-01 14:59:44 +01:00
Patrick Henninger
7436422b01
Codestyle
2019-01-14 18:18:21 +01:00
Patrick Henninger
5636a36388
Codestyle
...
ignore tests added to styleci.yml
2019-01-14 18:16:29 +01:00
Patrick Henninger
862030288c
Codestyle
2019-01-14 18:11:13 +01:00
Patrick Henninger
21ebf67f99
Further codestyle changes
2019-01-14 18:05:10 +01:00
Patrick Henninger
d6c7226e35
Further adjusting codestyle
2019-01-14 17:56:43 +01:00
Patrick Henninger
0521280040
Further codestyle changes
2019-01-14 17:54:38 +01:00
Patrick Henninger
f93ae51838
Adjustements to code style
2019-01-14 17:42:23 +01:00
Patrick Henninger
59eadb74a1
Removed Cart facade from coverage (does not provide a public inteterface)
...
Exclude migrations from coverage
Added tests for InstanceIdentifier
Added InstanceIdentifier support to store, restore and merge
Added weight to CanBeBought trait
Excluded CanBeBought trait from coverage temporarily
2019-01-09 14:08:09 +01:00
Patrick Henninger
70073ccb92
manuall readded reverted changes
2019-01-09 13:06:16 +01:00
Patrick Henninger
55f1c4617f
Revert "Manually merged https://github.com/Crinsane/LaravelShoppingcart/pull/502 "
...
This reverts commit 5d117a0acd .
2019-01-09 12:22:25 +01:00
Patrick Henninger
13238f9883
Revert "Removed unnecessary assignments"
...
This reverts commit dbfe5e01fd .
2019-01-09 12:22:21 +01:00
Patrick Henninger
dcab743407
Revert "Code formatting & quality"
...
This reverts commit 52a56768ba .
2019-01-09 12:22:15 +01:00
Patrick Henninger
52a56768ba
Code formatting & quality
...
Cleaned up __get methods
2019-01-08 20:53:41 +01:00
Patrick Henninger
dbfe5e01fd
Removed unnecessary assignments
2019-01-08 20:18:09 +01:00
Patrick Henninger
5d117a0acd
Manually merged https://github.com/Crinsane/LaravelShoppingcart/pull/502
...
Added more tests
2019-01-08 20:00:28 +01:00
Patrick Henninger
423e2b7c3f
Restructuring
...
Added codecov
2018-12-28 17:00:55 +01:00
Patrick Henninger
1190d72b52
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/350
...
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/349
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/478
2018-12-28 03:50:42 +01:00
Patrick Henninger
4cfd3e99b0
Added Cart merge functionality
...
Added Readme for merge
2018-12-28 03:16:29 +01:00
Patrick Henninger
3ebe09f6ab
Renamed migration file
...
Fixed migration being published multiple times
Added more tests
Fixed setGlobalTax and setGlobalDiscount
2018-12-23 23:24:05 +01:00
Patrick Henninger
8615c1131f
Added accessors for float values
2018-12-23 22:42:31 +01:00
Patrick Henninger
b39e78db5d
Remove types from method parameter
2018-12-21 19:06:59 +01:00
Patrick Henninger
892c76cc61
Updated readme
...
minor modifications
2018-12-21 18:37:36 +01:00
Patrick Henninger
8ac18c1759
Fixed mistake with InstanceIdentifier
2018-12-21 17:54:51 +01:00
Patrick Henninger
388951d289
Fixed cart calculation methods
2018-12-21 17:32:55 +01:00
Patrick Henninger
706261dd4f
Added InstanceIdentifier
2018-12-21 17:11:18 +01:00
Patrick Henninger
d947fe8a57
minor additions
2018-12-21 16:56:54 +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
Gregory Claeyssens
a3838c037b
return row on update
...
When updating a cartItem it should be returned since updating it might
change it’s ID
2016-11-02 14:34:49 +01: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
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