Skip to content

Commit

Permalink
MAGETWO-32341: [GITHUB] Configurable product attribute scope #866
Browse files Browse the repository at this point in the history
- Fix codestyle
- Fix configurable import/export
  • Loading branch information
igrybkov committed Jan 19, 2015
1 parent b61e102 commit 74cb2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function __construct(
protected function _addAttributeParams($attrSetName, array $attrParams, $attribute)
{
// save super attributes for simplier and quicker search in future
if ('select' == $attrParams['type'] && 1 == $attrParams['is_global'] && $attribute->getIsConfigurable()) {
if ('select' == $attrParams['type'] && 1 == $attrParams['is_global']) {
$this->_superAttributes[$attrParams['code']] = $attrParams;
}
return parent::_addAttributeParams($attrSetName, $attrParams, $attribute);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
->dropColumn(
$installer->getTable('catalog_eav_attribute'),
'is_configurable'

);

$installer->endSetup();
$installer->endSetup();

0 comments on commit 74cb2df

Please sign in to comment.