From 02c2f6560e7d4b7f822d9e466fcf7dbc8d474f72 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 24 Oct 2013 14:49:15 +0200 Subject: [PATCH] add todo comment in coupon event --- core/lib/Thelia/Action/Coupon.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Thelia/Action/Coupon.php b/core/lib/Thelia/Action/Coupon.php index e3a8defbf..0177e5ce2 100755 --- a/core/lib/Thelia/Action/Coupon.php +++ b/core/lib/Thelia/Action/Coupon.php @@ -124,6 +124,7 @@ class Coupon extends BaseAction implements EventSubscriberInterface // @todo insert false product in cart with the name of the coupon and the discount as negative price // Decrement coupon quantity + // @todo move this part in after order event $couponQuery = CouponQuery::create(); $couponModel = $couponQuery->findOneByCode($coupon->getCode()); $couponManager->decrementeQuantity($couponModel);