This commit is contained in:
Jitendra Singh 2020-01-31 19:16:45 +05:30
parent 48398597bf
commit 677cd7e542
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}
}
}