From 24589a7142c9fdf3a85705e14ebe87381fc346fb Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Wed, 30 Jul 2014 16:57:42 +0200 Subject: [PATCH] Updated order discount when clearing order coupons --- core/lib/Thelia/Action/Coupon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/lib/Thelia/Action/Coupon.php b/core/lib/Thelia/Action/Coupon.php index 4dc708394..27a882f5c 100644 --- a/core/lib/Thelia/Action/Coupon.php +++ b/core/lib/Thelia/Action/Coupon.php @@ -118,6 +118,8 @@ class Coupon extends BaseAction implements EventSubscriberInterface $this->couponManager->clear(); $this->request->getSession()->setConsumedCoupons(array()); + + $this->updateOrderDiscount(null); } /**