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 bcdf085 commit ef14435Copy full SHA for ef14435
app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php
@@ -1137,6 +1137,20 @@ private function processOptionRow($name, $optionRow)
1137
$result[$this->columnMaxCharacters] = $optionRow['max_characters'];
1138
}
1139
1140
+ $result = $this->addFileOptions($result, $optionRow);
1141
+
1142
+ return $result;
1143
+ }
1144
1145
+ /**
1146
+ * Add file options
1147
+ *
1148
+ * @param array $result
1149
+ * @param array $optionRow
1150
+ * @return array
1151
+ */
1152
+ private function addFileOptions($result, $optionRow)
1153
+ {
1154
foreach (['file_extension', 'image_size_x', 'image_size_y'] as $fileOptionKey) {
1155
if (!isset($optionRow[$fileOptionKey])) {
1156
continue;
0 commit comments