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 e656993 commit 9fb33f5Copy full SHA for 9fb33f5
app/code/Magento/ImportExport/Model/Import/Entity/AbstractEav.php
@@ -225,11 +225,12 @@ public function getAttributeOptions(
225
foreach ($attribute->getSource()->getAllOptions(false) as $option) {
226
$value = is_array($option['value']) ? $option['value'] : [$option];
227
foreach ($value as $innerOption) {
228
+ // skip ' -- Please Select -- ' option
229
if (strlen($innerOption['value'])) {
- // skip ' -- Please Select -- ' option
230
if ($attribute->isStatic()) {
231
$options[strtolower($innerOption[$index])] = $innerOption['value'];
232
} else {
233
+ // Non-static attributes flip keys an values
234
$options[$innerOption['value']] = $innerOption[$index];
235
}
236
0 commit comments