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