Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $installer = $this;
- $installer->startSetup();
- $installer->addAttribute('catalog_product', 'page_layout', array(
- 'type' => 'varchar',
- 'backend' => '',
- 'frontend' => '',
- 'label' => 'Page Layout',
- 'input' => 'select',
- 'class' => '',
- 'source' => 'catalog/product_attribute_source_layout',
- 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
- 'visible' => true,
- 'required' => false,
- 'user_defined' => false,
- 'default' => '',
- 'searchable' => false,
- 'filterable' => false,
- 'comparable' => false,
- 'visible_on_front' => false,
- 'unique' => false,
- 'group' => 'Design'
- ));
- $installer->endSetup();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement