When I create a dropdown attribute, Magento is always setting the "Use To Create Configurable Product" as Yes
.
While in the install script I added in the options array to the Mage_Eav_Model_Entity_Setup::addAttribute()
method:
"in_configurable" => false
This option is still not working.
Sample code to add an attribute from an install script:
$options = array(
'type' => 'int',
'label' => 'Color',
'input' => 'select',
'required' => false,
'user_defined' => true,
'searchable' => true,
'filterable' => true,
'comparable' => true,
'visible_in_advanced_search' => true,
'is_configurable' => false,
);
$this->addAttribute(
Mage_Catalog_Model_Product::ENTITY,
'size',
$options
);
After I go into the Admin Panel and view the attribute data, the is_configurable
attribute is set still set as Yes
.