WIP : Implement coupon check on ordering tunnel
@todo CSS @todo List coupon used and detailed effects
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user