Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $eavSetup->addAttribute(
- MagentoCatalogModelProduct::ENTITY,
- 'some_attr',
- [
- 'type' => '',
- 'backend' => '',
- 'frontend' => '',
- 'label' => 'Test Attribute',
- 'input' => '',
- 'class' => '',
- 'source' => '',
- 'global' => MagentoCatalogModelResourceEavAttribute::SCOPE_GLOBAL,
- 'visible' => true,
- 'required' => false,
- 'user_defined' => false,
- 'default' => 0,
- 'searchable' => false,
- 'filterable' => false,
- 'comparable' => false,
- 'visible_on_front' => false,
- 'used_in_product_listing' => true,
- 'unique' => false,
- 'apply_to' => ''
- ]
- );
Add Comment
Please, Sign In to add comment