Skip to content

Commit 8da8723

Browse files
committed
MAGETWO-58299: [Github] Imported configurable products with multiple super attributes do not retain super attribute ordering #6079
1 parent f24204a commit 8da8723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableImportExport/Model/Export/RowCustomizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function prepareData($collection, $productIds)
4141
foreach ($productAttributeOption as $optValues) {
4242
$variations[$optValues['sku']][] = $optValues['attribute_code'] . '=' . $optValues['option_title'];
4343

44-
if (isset($optValues['super_attribute_label'])) {
44+
if (!empty($optValues['super_attribute_label'])) {
4545
$variationsLabels[$optValues['attribute_code']] = $optValues['attribute_code'] . '='
4646
. $optValues['super_attribute_label'];
4747
}

0 commit comments

Comments
 (0)