Commit Graph

98 Commits

Author SHA1 Message Date
Manuel Raynaud
5e8cdfd6f7 change method visibility on coupon trait 2014-08-07 16:55:16 +02:00
Julien Chanséaume
2b2a5690a7 php-cs-fixer 2014-08-04 20:31:27 +02:00
Julien Chanséaume
fa134bb9a3 Fixed translations for coupon 2014-08-04 19:26:21 +02:00
Franck Allimant
bfd9a6ac7d Added isInUse() method to the CouponInterface 2014-07-22 18:59:58 +02:00
Manuel Raynaud
84c2432507 remove unused variable 2014-06-24 10:38:43 +02:00
Manuel Raynaud
77a4c45aa4 remove commented code 2014-06-24 10:30:46 +02:00
Manuel Raynaud
5beefc5857 add missing use 2014-06-24 10:27:39 +02:00
Franck Allimant
6f12882850 Added missing $this->setFieldsValue($effects); 2014-06-17 15:28:35 +02:00
Franck Allimant
8b74eae911 php-cs pass 2014-06-17 00:43:10 +02:00
Franck Allimant
c87c6e2793 Added free product coupon. 2014-06-17 00:38:18 +02:00
Franck Allimant
749487e967 Added getDeliveryCountry() method 2014-06-17 00:37:53 +02:00
Franck Allimant
6b6687c85c Added clear() method 2014-06-17 00:35:12 +02:00
Franck Allimant
2edfb0b389 Added clear method. 2014-06-17 00:34:57 +02:00
Franck Allimant
ec26ebac32 php-cs fixer passed. 2014-06-12 17:10:38 +02:00
Franck Allimant
e9a0661938 Pushed forward the refactoring, using traits 2014-06-12 17:00:17 +02:00
Franck Allimant
b34f1c35c7 Fixed the checking of maximum coupon usage count 2014-06-12 16:42:00 +02:00
Franck Allimant
95841809c4 Refactored coupons to reduce code duplication 2014-06-12 13:14:46 +02:00
Franck Allimant
db29505fee Added Attribute value related coupons 2014-06-12 13:14:07 +02:00
Franck Allimant
71ea9e9671 php-cs fixes. 2014-06-11 09:43:27 +02:00
Franck Allimant
441764cf94 Added new coupon types 2014-06-11 09:43:26 +02:00
Franck Allimant
a1ba63d5d5 Order total may be calculated with or without discounted items 2014-06-11 09:43:24 +02:00
Franck Allimant
80653fee0b Order total may be calculated with or without discounted items 2014-06-11 09:43:23 +02:00
Franck Allimant
87837224f7 PHP-CS fixer 2014-06-11 09:43:13 +02:00
Franck Allimant
0683d20d2c Improved and simplified coupon form management 2014-06-11 09:43:09 +02:00
Franck Allimant
567fee839c Added RemoveAmountOnCategories coupon type 2014-05-28 12:02:56 +02:00
Franck Allimant
ab060486d0 Fixed Thelia\Model\Base uses. 2014-05-18 20:19:48 +02:00
Franck Allimant
ef142ca077 Applied php-cs-fixer 2014-05-17 10:56:28 +02:00
Franck Allimant
f8ccea1899 Added per-user coupon maximum usage count 2014-05-17 10:56:19 +02:00
Franck Allimant
392abff271 Free shipping for selected countries and/or shipping methods 2014-05-15 20:25:22 +02:00
Franck Allimant
862d8ec913 Prevent Fatal error if current order coupon is deleted 2014-05-10 12:10:45 +02:00
Franck Allimant
06d7eb4fc1 Implemented getDeliveryAddress() 2014-05-10 01:29:54 +02:00
Manuel Raynaud
85d80d1d77 fix minor bug 2014-05-09 10:55:50 +02:00
Franck Allimant
4673a14b76 Typo 2014-05-05 10:04:38 +02:00
Franck Allimant
f9e4c33875 No % or money symbol in HTML generated by CouponAbstract 2014-05-05 09:52:27 +02:00
Franck Allimant
091e7f9f64 Re-added the html generatrion code in drawBackOfficeInputs() 2014-05-04 19:31:41 +02:00
Franck Allimant
d42e5cd557 drawBackOfficeInputs is no longer abstract 2014-05-03 12:23:48 +02:00
Franck Allimant
8c044303f2 drawBackOfficeInputs() is now abstract 2014-05-02 20:54:53 +02:00
Franck Allimant
500a945f98 HTML fragments in templates instead of hardcoded 2014-05-02 20:52:59 +02:00
Franck Allimant
8bf94517f2 No longer used 2014-05-02 18:25:31 +02:00
Franck Allimant
9d3dd8687a Added the transformer 2014-05-02 17:10:28 +02:00
Franck Allimant
bbe7634ad4 Using templates for conditions HTML fragments 2014-05-02 17:10:22 +02:00
Manuel Raynaud
5e65bf0b8a change license header 2014-04-18 09:36:41 +02:00
Manuel Raynaud
06539ad9bf coupons effect are recalculated after each product's cart modification. Fix #237 2014-03-03 17:40:54 +01:00
Manuel Raynaud
a5cfcf91ca update changelog and fix cs 2014-02-22 19:01:37 +01:00
Manuel Raynaud
3ab022e99d fix test suite 2014-02-20 11:44:09 +01:00
Manuel Raynaud
dafce9e070 Do not allow to cumulate the coupon many times. Fix #217 2014-02-19 16:56:58 +01:00
Benjamin Perche
32b59f8189 Fix Coupon RemoveXPercent missing round
modified:   core/lib/Thelia/Coupon/Type/RemoveXPercent.php
2014-02-12 09:11:28 +01:00
Franck Allimant
89653f452b Removes container from all Thelia actions, but Modules (#198) 2014-01-31 20:06:42 +01:00
Manuel Raynaud
9d0121f321 fix cs 2014-01-10 11:41:55 +01:00
Manuel Raynaud
149a943a0e don't save the currentCoupons in a property. Retrieve them from the
session
2014-01-10 11:20:57 +01:00