File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1485,7 +1485,7 @@ public function getImagesFromRow(array $rowData)
1485
1485
);
1486
1486
1487
1487
if (!empty ($ rowData [$ column . '_label ' ])) {
1488
- $ labels [$ column ] = $ this ->parseImageLabels ($ rowData [$ column . '_label ' ]);
1488
+ $ labels [$ column ] = $ this ->parseMultipleValues ($ rowData [$ column . '_label ' ]);
1489
1489
1490
1490
if (count ($ labels [$ column ]) > count ($ images [$ column ])) {
1491
1491
$ labels [$ column ] = array_slice ($ labels [$ column ], 0 , count ($ images [$ column ]));
@@ -2824,12 +2824,12 @@ private function updateMediaGalleryLabels(array $labels)
2824
2824
}
2825
2825
2826
2826
/**
2827
- * Parse labels from combined labels string
2827
+ * Parse values from multiple attributes fields
2828
2828
*
2829
2829
* @param string $labelRow
2830
2830
* @return array
2831
2831
*/
2832
- private function parseImageLabels ($ labelRow )
2832
+ private function parseMultipleValues ($ labelRow )
2833
2833
{
2834
2834
return $ this ->parseMultiselectValues (
2835
2835
$ labelRow ,
You can’t perform that action at this time.
0 commit comments