Commit Graph

95 Commits

Author SHA1 Message Date
Patrick
f73b44bbf7 Update Cart.php 2022-02-05 19:16:38 +01:00
Patrick
3bbaadfea5 Update Cart.php 2022-02-05 19:15:07 +01:00
Patrick
1df06502af Update Cart.php 2022-02-05 19:13:00 +01:00
Patrick
7571e60922 Update Cart.php 2022-02-05 19:12:50 +01:00
Patrick
df8c8c3cb6 Update Cart.php 2022-02-05 19:12:37 +01:00
Patrick
d9c8e57280 Update Cart.php 2022-02-05 19:08:02 +01:00
Patrick
9b7846f948 Update Cart.php 2022-02-05 19:06:32 +01:00
Patrick
1798774a66 Update Cart.php 2022-02-05 19:02:47 +01:00
Patrick
80a0eb5a5c Update Cart.php 2022-02-05 18:59:09 +01:00
Patrick
158947d1f1 Update Cart.php 2022-02-05 18:40:01 +01:00
Patrick
25c5841fc1 Update Cart.php 2022-02-05 17:55:32 +01:00
Patrick
321f41dbfd Update Cart.php 2022-02-05 17:53:34 +01:00
Patrick
1b866e50e6 Update Cart.php 2022-02-03 00:18:36 +01:00
Patrick
5e6adedd70 Update Cart.php 2022-02-03 00:14:15 +01:00
Patrick
ca22d5d2f5 Update Cart.php 2022-01-18 01:21:59 +01:00
Patrick
83f6d94a94 Update Cart.php 2022-01-18 00:54:05 +01:00
Patrick
027d223174 Update Cart.php 2022-01-18 00:13:27 +01:00
Patrick
d19032c2a1 Update Cart.php 2022-01-18 00:10:58 +01:00
Patrick
0acb540e95 Update Cart.php 2022-01-18 00:05:53 +01:00
Chris Thompson
16b49f06f8 Use the helper method 2021-11-30 17:36:01 -05:00
Chris Thompson
dcd41d3790 Make the CartItem aware of its cart instance 2021-11-30 17:25:47 -05:00
Patrick Henninger
c52235067f Rename countInstances and improve PHPDoc, 2020-12-27 21:19:22 +01:00
Norris Oduro
b68d5f1015 Merge branch 'master' into master 2020-12-16 01:31:06 +00:00
Filip Ganyicz
47dd3b26fc Add macroable trait 2020-12-05 01:18:01 +01:00
Norris Oduro
427ea770d7 Style CI Fixes 2020-11-15 06:06:15 +00:00
Norris Oduro
148347b601 Style CI Fixes 2020-11-15 06:03:59 +00:00
Norris Oduro
87acd5cfb2 rename the storedCartWithIdentifier method to storedCartInstanceWithIdentifierExists, changed the signature of the merge and storedCartInstanceWithIdentifierExists methods and add instance to all stored cart retrievals 2020-11-15 05:55:29 +00:00
Norris Oduro
3244c1b306 Style CI fixes 2020-11-03 14:05:55 +00:00
Norris Oduro
981bf2940f Style CI fixes 2020-11-03 14:04:37 +00:00
Norris Oduro
6460326b1a Style CI fixes and remove assertDatabaseCount 2020-11-03 14:03:13 +00:00
Norris Oduro
6ba97cafa8 Use instance in query if there are more than one instances and add tests 2020-11-03 13:55:43 +00:00
Norris Oduro
6d15ac8c43 Update Cart.php
Add instance to storedCartWithIdentifierExists
2020-11-03 13:25:43 +00:00
Patrick Henninger
0991d4e6d4 StyleCI 2020-09-23 02:05:13 +02:00
Jorge Moura
143eb0b5d0 Added new events adding, updating, removing. 2020-09-22 11:37:17 -05:00
Patrick
19b7bdfe1f StyleCI 2020-08-29 15:35:15 +02:00
Patrick
e77fb90104 Update Cart.php 2020-08-29 15:34:30 +02:00
Patrick Henninger
8ee9bad739 Improve test,
Fix updatedAt(),
2020-05-08 21:17:10 +02:00
Patrick Henninger
05b99d4e72 Make getters public,
Add Test
2020-05-08 20:58:58 +02:00
Patrick Henninger
a50767d584 Use Carbon instead of date 2020-05-08 20:42:17 +02:00
Patrick Henninger
4d577b7384 Merge branch 'master' into fix_cart_database_timestamps 2020-05-08 20:39:53 +02:00
sartoric
1a34bda8ab added CartItem::priceTotal for rounded total (from internal calculation) 2020-01-15 12:44:58 +01:00
sartoric
9cdacf901c changed the strategy for cart values calculation (taxes per row),
test,
some fixes
2020-01-14 22:33:12 +01:00
sartoric
7d4704b413 Merge branch 'master' of https://github.com/bumbummen99/LaravelShoppingcart
 Conflicts:
	tests/CartTest.php
2020-01-09 19:07:01 +01:00
Patrick
8383901fba Update Cart.php 2019-11-19 01:36:09 +01:00
sartoric
1341863d65 Dispatch "cart.merged" event,added a parameter to avoid dispatching "cart.added" events while merging 2019-11-18 10:34:23 +01:00
Patrick
73173955ad Update Cart.php 2019-11-16 23:57:31 +01:00
Patrick
07a776aa33 StyleCI 2019-11-16 23:43:18 +01:00
Andrew Savchenko
5d7aee42d7 Fix code style 2019-10-31 21:33:05 +01:00
Andrew Savchenko
cb470f69a3 Fix products sequence after changing cart item options 2019-10-31 21:04:34 +01:00
Cristian
bb59a2e2dd Added a method to erase stored cart 2019-10-31 13:20:30 +01:00