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()
416416 'website_id ' => $ this ->getWebSiteId ($ rowData [self ::COL_TIER_PRICE_WEBSITE ])
417417 ];
418418 if (\Magento \ImportExport \Model \Import::BEHAVIOR_APPEND == $ behavior ) {
419- $ bunchTierPrices [$ rowSku ][] = $ tierPrice ;
419+ $ bunchTierPrices [$ rowSku ][] = $ tierPrice ;
420420 }
421421 if (\Magento \ImportExport \Model \Import::BEHAVIOR_REPLACE == $ behavior ) {
422422 $ tierPrices [$ rowSku ][] = $ tierPrice ;
@@ -436,6 +436,7 @@ protected function saveAndReplaceAdvancedPrices()
436436 if ($ listSku ) {
437437 $ this ->setUpdatedAt ($ listSku );
438438 }
439+ $ this ->countItemsCreated -= $ this ->countItemsUpdated ;
439440 } elseif (\Magento \ImportExport \Model \Import::BEHAVIOR_REPLACE == $ behavior ) {
440441 if ($ listSku ) {
441442 $ this ->processCountNewPrices ($ tierPrices );
@@ -649,7 +650,7 @@ protected function processCountNewPrices(array $tierPrices)
649650 foreach ($ tierPrices as $ productPrices ) {
650651 $ this ->countItemsCreated += count ($ productPrices );
651652 }
652- $ this ->countItemsCreated -= $ this ->countItemsUpdated ;
653+ // $this->countItemsCreated -= $this->countItemsUpdated; ///
653654
654655 return $ this ;
655656 }
You can’t perform that action at this time.
0 commit comments