From 677cd7e542cc664361c09464ee8a6fef66891fd8 Mon Sep 17 00:00:00 2001 From: Jitendra Singh Date: Fri, 31 Jan 2020 19:16:45 +0530 Subject: [PATCH] Issue #2202 fixed --- packages/Webkul/Product/src/Type/AbstractType.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/Webkul/Product/src/Type/AbstractType.php b/packages/Webkul/Product/src/Type/AbstractType.php index bec67190b..8a6466138 100644 --- a/packages/Webkul/Product/src/Type/AbstractType.php +++ b/packages/Webkul/Product/src/Type/AbstractType.php @@ -510,8 +510,13 @@ abstract class AbstractType return true; } else { - if (core()->isChannelDateInInterval($this->product->special_price_from, $this->product->special_price_to)) + if (core()->isChannelDateInInterval($this->product->special_price_from, $this->product->special_price_to)) { return true; + } else if ($rulePrice) { + $this->product->special_price = $rulePrice->price; + + return true; + } } }