Skip to content

Commit 78f4036

Browse files
committed
ACP2E-2902: Add/Update Import on Products Duplicating Customizable Options
1 parent 488c103 commit 78f4036

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import/Product

1 file changed

+1
-3
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,9 +1912,7 @@ protected function _saveTitles(array $titles)
19121912
if (!isset($existingOptionIds[$optionId]) && count($storeInfo) > 0) {
19131913
$storeInfo = [Store::DEFAULT_STORE_ID => reset($storeInfo)] + $storeInfo;
19141914
}
1915-
//for use default
1916-
$uniqStoreInfo = array_unique($storeInfo);
1917-
foreach ($uniqStoreInfo as $storeId => $title) {
1915+
foreach ($storeInfo as $storeId => $title) {
19181916
$titleRows[] = ['option_id' => $optionId, 'store_id' => $storeId, 'title' => $title];
19191917
}
19201918
}

0 commit comments

Comments
 (0)