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 99f206f commit 0f796ccCopy full SHA for 0f796cc
app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php
@@ -2086,7 +2086,11 @@ protected function _parseCustomOptions($rowData)
2086
}
2087
2088
2089
- $options[$name][$k]['_custom_option_store'] = $rowData[Product::COL_STORE_VIEW_CODE];
+ if (isset($rowData[Product::COL_STORE_VIEW_CODE])) {
2090
+ $options[$name][$k][self::COLUMN_STORE] = $rowData[Product::COL_STORE_VIEW_CODE];
2091
+ } else {
2092
+ $options[$name][$k][self::COLUMN_STORE] = Store::DEFAULT_STORE_ID;
2093
+ }
2094
$k++;
2095
2096
$rowData['custom_options'] = $options;
0 commit comments