Skip to content

Commit

Permalink
Update Tierprice.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gelanivishal authored Nov 1, 2018
1 parent edf09b3 commit 09bd229
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function modifyPriceData($object, $data)

if ($specialPrice && ($object->getPrice() > $object->getFinalPrice())) {
if ($today >= strtotime($specialPriceFromDate) && $today <= strtotime($specialPriceToDate) ||
$today >= strtotime($specialPriceFromDate) && is_null($specialPriceToDate)) {
$today >= strtotime($specialPriceFromDate) && $specialPriceToDate === null) {
$price = $specialPrice;
}
}
Expand Down

0 comments on commit 09bd229

Please sign in to comment.