We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40b9c7 commit 451b6baCopy full SHA for 451b6ba
app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php
@@ -168,9 +168,9 @@ protected function modifyPriceData($object, $data)
168
$specialPriceToDate = $object->getSpecialToDate();
169
$today = time();
170
171
- if ($specialPrice && ($object->getPrice() > $object->getFinalPrice())){
+ if ($specialPrice && ($object->getPrice() > $object->getFinalPrice())) {
172
if ($today >= strtotime($specialPriceFromDate) && $today <= strtotime($specialPriceToDate) ||
173
- $today >= strtotime($specialPriceFromDate) && is_null($specialPriceToDate)) {
+ $today >= strtotime($specialPriceFromDate) && is_null($specialPriceToDate) === TRUE) {
174
$price = $specialPrice;
175
}
176
0 commit comments