File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -204,13 +204,11 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ
204
204
private $ productEntityIdentifierField ;
205
205
206
206
/**
207
- * Store specific columns list
207
+ * Store view code column
208
208
*
209
- * @var array
209
+ * @var string
210
210
*/
211
- private $ storeSpecificColumns = [
212
- 'store_view_code ' => 'store_view_code '
213
- ];
211
+ private $ storeViewCodeColumn = 'store_view_code ' ;
214
212
215
213
/**
216
214
* @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attrSetColFac
@@ -498,12 +496,12 @@ protected function _parseVariations($rowData)
498
496
$ additionalRows = [];
499
497
if (empty ($ rowData ['configurable_variations ' ])) {
500
498
return $ additionalRows ;
501
- } elseif (!empty ($ rowData [ $ this ->storeSpecificColumns [ ' store_view_code ' ]] )) {
499
+ } elseif (!empty ($ this ->storeViewCodeColumn )) {
502
500
throw new LocalizedException (
503
501
__ (
504
502
sprintf (
505
503
'Product with assigned super attributes should not have specified "%s" value ' ,
506
- $ this ->storeSpecificColumns [ ' store_view_code ' ]
504
+ $ this ->storeViewCodeColumn
507
505
)
508
506
)
509
507
);
You can’t perform that action at this time.
0 commit comments