WIP : Implement coupon check on ordering tunnel

@todo CSS
@todo List coupon used and detailed effects
This commit is contained in:
gmorel
2013-10-20 23:01:12 +02:00
parent 8c4ca21615
commit f276ccfa37
8 changed files with 22 additions and 18 deletions

View File

@@ -73,6 +73,7 @@ class CouponController extends BaseFrontController
// Dispatch Event to the Action
$this->getDispatcher()->dispatch(TheliaEvents::COUPON_CONSUME, $couponConsumeEvent);
} catch (FormValidationException $e) {
$message = sprintf('Please check your coupon code: %s', $e->getMessage());
} catch (PropelException $e) {