File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/AdvancedPricingImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ protected function saveAndReplaceAdvancedPrices()
416
416
'website_id ' => $ this ->getWebSiteId ($ rowData [self ::COL_TIER_PRICE_WEBSITE ])
417
417
];
418
418
if (\Magento \ImportExport \Model \Import::BEHAVIOR_APPEND == $ behavior ) {
419
- $ bunchTierPrices [$ rowSku ][] = $ tierPrice ;
419
+ $ bunchTierPrices [$ rowSku ][] = $ tierPrice ;
420
420
}
421
421
if (\Magento \ImportExport \Model \Import::BEHAVIOR_REPLACE == $ behavior ) {
422
422
$ tierPrices [$ rowSku ][] = $ tierPrice ;
@@ -436,6 +436,7 @@ protected function saveAndReplaceAdvancedPrices()
436
436
if ($ listSku ) {
437
437
$ this ->setUpdatedAt ($ listSku );
438
438
}
439
+ $ this ->countItemsCreated -= $ this ->countItemsUpdated ;
439
440
} elseif (\Magento \ImportExport \Model \Import::BEHAVIOR_REPLACE == $ behavior ) {
440
441
if ($ listSku ) {
441
442
$ this ->processCountNewPrices ($ tierPrices );
@@ -649,7 +650,7 @@ protected function processCountNewPrices(array $tierPrices)
649
650
foreach ($ tierPrices as $ productPrices ) {
650
651
$ this ->countItemsCreated += count ($ productPrices );
651
652
}
652
- $ this ->countItemsCreated -= $ this ->countItemsUpdated ;
653
+ // $this->countItemsCreated -= $this->countItemsUpdated; ///
653
654
654
655
return $ this ;
655
656
}
You can’t perform that action at this time.
0 commit comments