Commit graph

60 commits

Author SHA1 Message Date
Paweł Jędrzejewski
2dc30aa571 clean up. 2012-04-18 01:05:55 +02:00
Paweł Jędrzejewski
ad8d9154c7 update readme and composer.json. 2012-04-15 22:48:00 +02:00
Paweł Jędrzejewski
95246010ef allow passing item type options via twig function. 2012-04-15 02:35:38 +02:00
Paweł Jędrzejewski
712f8e259b add easy cart resseting via ->abandonCart() method of cart provider. updated cart storage interface and related tests. 2012-04-15 02:19:46 +02:00
Paweł Jędrzejewski
4b2b9b2075 update to catch up with Form api changes. 2012-04-12 19:50:14 +02:00
Paweł Jędrzejewski
691ebba77a add supported drivers to bundle class. 2012-04-12 19:40:06 +02:00
Paweł Jędrzejewski
2e9f5d743a Update readme. 2012-04-09 14:45:44 +03:00
Paweł Jędrzejewski
1484985de5 fix flush command. 2012-03-29 23:05:51 +02:00
Paweł Jędrzejewski
a4b92eb1f5 dispatch event when clearing cart and validate cart before saving in add-item action. 2012-03-29 20:09:48 +02:00
Paweł Jędrzejewski
462c5dc323 add default cart validation rules. 2012-03-29 19:50:21 +02:00
Paweł Jędrzejewski
b1325911f6 add incrementQuantity method to cart interface. 2012-03-29 19:01:47 +02:00
Paweł Jędrzejewski
9081597518 remove validate method from operator interface. 2012-03-29 18:43:21 +02:00
Paweł Jędrzejewski
acb03ace53 default item quantity is 1. 2012-03-29 18:32:08 +02:00
Paweł Jędrzejewski
b5222a514d fix cart operator to sum up items that are equal. 2012-03-29 00:00:07 +02:00
Paweł Jędrzejewski
5d898acc05 initiate items as empty array by default. 2012-03-28 23:56:57 +02:00
Paweł Jędrzejewski
5edcc8982f fix travis.yml before script to install all deps needed for tests. 2012-03-28 21:28:06 +02:00
Paweł Jędrzejewski
74d60bd75b document provider interface. 2012-03-28 21:26:51 +02:00
Paweł Jędrzejewski
a754a5a722 modify storage interface and test it, add tests for operator and provider. 2012-03-28 21:20:54 +02:00
Paweł Jędrzejewski
5002b77d6b add model tests. 2012-03-28 21:20:23 +02:00
Paweł Jędrzejewski
7ff417a8ed add more events test. 2012-03-28 21:20:10 +02:00
Paweł Jędrzejewski
6ddd4d07b7 extend cart model. 2012-03-28 21:19:40 +02:00
Paweł Jędrzejewski
a28b438f15 tweak manager tests. 2012-03-28 18:30:05 +02:00
Paweł Jędrzejewski
69f6716c6b fix tests, and thanks to them, fix dic extension, that's wy you should do unit testing. 2012-03-28 18:26:55 +02:00
Paweł Jędrzejewski
ee67054c3c update composer.json. 2012-03-28 18:11:26 +02:00
Paweł Jędrzejewski
159a11f204 Fix bad var name in default cart operator. 2012-03-28 02:07:07 +03:00
Paweł Jędrzejewski
ec5a040b53 correct tests. 2012-03-28 00:37:46 +02:00
Paweł Jędrzejewski
65eb9b636b correct cart save action. 2012-03-28 00:36:06 +02:00
Paweł Jędrzejewski
b0caced8d9 correct readme. 2012-03-28 00:15:54 +02:00
Paweł Jędrzejewski
56f53ae3c2 sensible default abstract CartOperator. 2012-03-28 00:08:09 +02:00
Paweł Jędrzejewski
5df007a7f3 extend item interface. 2012-03-27 23:50:50 +02:00
Paweł Jędrzejewski
e7e89c6257 change quantity to integer. 2012-03-27 23:41:10 +02:00
Paweł Jędrzejewski
f2f2fbda1c Merge branch 'master' of git://github.com/Sylius/SyliusCartBundle 2012-03-27 22:11:12 +02:00
Paweł Jędrzejewski
2f01c121bc add easy getting of the item form view to twig engine extension. 2012-03-27 22:10:46 +02:00
Paweł Jędrzejewski
75c544abc2 clean up ItemType class. 2012-03-27 22:10:25 +02:00
Paweł Jędrzejewski
5461a58303 Remove ugly and wrong template. 2012-03-27 01:50:43 +03:00
Paweł Jędrzejewski
c615917394 fix event name and refreshing method name in controller. 2012-03-27 00:43:41 +02:00
Paweł Jędrzejewski
0b501afa4f fix events class name. 2012-03-27 00:26:49 +02:00
Paweł Jędrzejewski
ce6d76f01a added descriptions for item resolver. 2012-03-27 00:01:16 +02:00
Paweł Jędrzejewski
e65f1ae466 fix form type name. 2012-03-26 23:48:33 +02:00
Paweł Jędrzejewski
786226d50a item resolver interface. 2012-03-26 23:04:18 +02:00
Paweł Jędrzejewski
95cd739768 fix naming and interface issues. 2012-03-26 23:01:45 +02:00
Paweł Jędrzejewski
18cd94989b fix extension and route names. 2012-03-26 22:35:10 +02:00
Paweł Jędrzejewski
32060b7ae6 rename driver ORM to doctrine/orm. 2012-03-26 20:40:02 +02:00
Paweł Jędrzejewski
393d14385c rever Cart to Carts bundle rename. 2012-03-26 19:22:05 +02:00
Paweł Jędrzejewski
922fa343d6 ideas revisited, cart to carts rename. 2012-03-26 14:38:30 +02:00
Paweł Jędrzejewski
7f913aa76e move provider class under section in configuration, fix issue with missing default configuration. 2012-03-14 20:03:22 +01:00
Paweł Jędrzejewski
9abaccded6 Merge pull request #2 from jhaskell/master
Updating Provider Configuration for Extensibility
2012-03-13 00:14:34 -07:00
Benjamin Scholler
e6b2062955 Updating DependencyInjection to pull in provider to proper location. 2012-03-12 17:24:51 -07:00
James Haskell
ab0a2f9a61 Added configurable provider to cart bundle 2012-03-12 16:22:33 -07:00
Paweł Jędrzejewski
9e3eec8e32 cart is now lazy loaded, added flush command and autoflush on add item action. 2011-12-29 17:26:01 +01:00