Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add our "features" attribute
- $eavSetup->addAttribute(Product::ENTITY, 'features', [
- 'type' => 'text',
- 'label' => 'Features',
- 'input' => 'textarea',
- 'required' => false,
- 'sort_order' => 100,
- 'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
- 'wysiwyg_enabled' => true,
- 'is_html_allowed_on_front' => true,
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement