Для этого есть пурпурный путь
Пример:
$installer->addAttribute('catalog_product', 'test_me', array(
'label' => 'test Me',
'input' => 'textarea',
'type' => 'text',
'class' => '',
'global' => true,
'visible' => true,
'required' => false,
'user_defined' => true,
'default' => '',
'apply_to' => 'simple,configurable',
'visible_on_front' => true,
'is_configurable' => false,
'wysiwyg_enabled' => true,
'used_in_product_listing' => true,
'is_html_allowed_on_front' => true,
'group' => 'Config',
'sort_order' => 25
));
Чтобы добавить атрибут в каждый атрибут attribute_set, вам нужно установить 'user_defined' = true
и установить 'group' = 'your_group_name'
. При необходимости magento добавит вашу группу к каждому набору атрибутов и прикрепит к ней атрибут.