Skip to content

Commit 74cb2df

Browse files
committed
MAGETWO-32341: [GITHUB] Configurable product attribute scope #866
- Fix codestyle - Fix configurable import/export
1 parent b61e102 commit 74cb2df

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function __construct(
165165
protected function _addAttributeParams($attrSetName, array $attrParams, $attribute)
166166
{
167167
// save super attributes for simplier and quicker search in future
168-
if ('select' == $attrParams['type'] && 1 == $attrParams['is_global'] && $attribute->getIsConfigurable()) {
168+
if ('select' == $attrParams['type'] && 1 == $attrParams['is_global']) {
169169
$this->_superAttributes[$attrParams['code']] = $attrParams;
170170
}
171171
return parent::_addAttributeParams($attrSetName, $attrParams, $attribute);

app/code/Magento/ConfigurableProduct/sql/configurableproduct_setup/install-2.0.1.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
->dropColumn(
1414
$installer->getTable('catalog_eav_attribute'),
1515
'is_configurable'
16-
1716
);
1817

19-
$installer->endSetup();
18+
$installer->endSetup();

0 commit comments

Comments
 (0)