Commit Graph

169 Commits

Author SHA1 Message Date
Patrick
9a50bb2a59 Update InstanceIdentifier.php 2022-01-18 00:28:59 +01:00
Patrick
090eadcd4b Update Buyable.php 2022-01-18 00:25:30 +01:00
Patrick
edb8220641 Update Buyable.php 2022-01-18 00:25:15 +01:00
Patrick
2e23535593 Update CanBeBought.php 2022-01-18 00:24:11 +01:00
Patrick
c2f92ae9f0 Update CanBeBought.php 2022-01-18 00:23:09 +01:00
Patrick
5b7903d85e Update CartItemOptions.php 2022-01-18 00:22:11 +01:00
Patrick
dc7ee838d1 Update CartItemOptions.php 2022-01-18 00:16:34 +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
Patrick
c67d72d65c Update CartItem.php 2022-01-17 23:47:34 +01:00
Patrick
9501f4c062 Update CartItem.php 2022-01-17 23:46:40 +01:00
Patrick
2f5018db5a Update CartItem.php 2022-01-17 23:45:40 +01:00
Patrick
20a4afd2ea Merge branch 'master' into master 2022-01-17 19:26:37 +01:00
Patrick
09378ab742 Update CartItem.php 2022-01-17 19:24:12 +01:00
Andrew Minion
58f8648935 add handling for arrays 2021-12-10 10:35:36 -06:00
Andrew Minion
9a7d88fc35 fix docs 2021-12-03 12:21:53 -06:00
Chris Thompson
01f7bb04e8 Fixing continous-integration complaint 2021-12-01 08:36:30 -05: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
Guy-roland ASSALE
ecbcce8cd4 Fix ttle variable error 2021-02-02 07:27:49 +00:00
Patrick
c7b8291ce7 Update CanBeBought.php
Add missing bracket
2021-01-18 21:39:38 +01:00
Patrick
db5ad0b3e4 Update CanBeBought.php
Add missing assignment operator
2021-01-18 21:38:28 +01:00
Patrick
963be116b7 Update CanBeBought.php
Use getAttribute method from HasAttributes trait,
2021-01-18 21:30:44 +01:00
=
bbf0703181 Fixing InvalidArgumentException when adding buyable models to Cart on newer Laravel Versions. 2021-01-17 22:06:16 +01: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 Henninger
a215c63165 Style CI 2020-08-29 22:12:00 +02:00
Patrick Henninger
43e440c485 Add Calculator Contract,
Add some checking for calculators,
2020-08-29 22:09:38 +02:00
Patrick Henninger
e5b93829c5 Remove leftover typehint 2020-08-29 16:21:57 +02:00
Patrick Henninger
791747c28d StyleCI 2020-08-29 16:19:12 +02:00
Patrick Henninger
238d8cf7d9 Refactor gross price / default into calculators,
Remove gross_price from config replaced with calculator
2020-08-29 16:18:05 +02:00
Patrick
ae0a976785 Prevent negative subtotal
Manual merge of 33fc42dae1
2020-08-29 15:47:33 +02: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
085693def0 StyleCI 2020-07-28 15:36:04 +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