From a1f8a27417c7620622c01f7b01fcb2490105650f Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Date: Mon, 25 Jun 2018 19:59:06 +0600 Subject: [PATCH] fix: Dokan is forcefullly making the coupons fixed #296 --- includes/class-order-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-order-manager.php b/includes/class-order-manager.php index 55611205bc..86c151f6b2 100644 --- a/includes/class-order-manager.php +++ b/includes/class-order-manager.php @@ -469,6 +469,6 @@ public function ensure_vendor_coupon( $valid, $coupon ) { return false; } - return true; + return $valid; } }