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 f0ffe26 commit fa41639Copy full SHA for fa41639
app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice/UpdateHandler.php
@@ -96,12 +96,7 @@ public function execute($entity, $arguments = [])
96
$productId = (int)$entity->getData($identifierField);
97
98
// prepare original data to compare
99
- $origPrices = [];
100
- $originalId = $entity->getOrigData($identifierField);
101
- if (empty($originalId) || $entity->getData($identifierField) == $originalId) {
102
- $origPrices = $entity->getOrigData($attribute->getName());
103
- }
104
-
+ $origPrices = $entity->getOrigData($attribute->getName());
105
$old = $this->prepareOldTierPriceToCompare($origPrices);
106
// prepare data for save
107
$new = $this->prepareNewDataForSave($priceRows, $isGlobal);
0 commit comments