Skip to content

Commit fb90bde

Browse files
committed
MAGETWO-90149: Product Import does not allow store-specific Custom Option labels
1 parent a9a467a commit fb90bde

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,7 @@ protected function _findExistingOptionId(array $newOptionData, array $newOptionT
760760
ksort($newOptionTitles);
761761
$existingOptions = $this->_oldCustomOptions[$productId];
762762
foreach ($existingOptions as $optionId => $optionData) {
763-
if (
764-
$optionData['type'] == $newOptionData['type']
763+
if ($optionData['type'] == $newOptionData['type']
765764
&& $optionData['titles'][Store::DEFAULT_STORE_ID] == $newOptionTitles[Store::DEFAULT_STORE_ID]
766765
) {
767766
return $optionId;

0 commit comments

Comments
 (0)