Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $installer = $this;
- $installer->startSetup();
- $modelSet = Mage::getModel('eav/entity_attribute_set');
- $modelSet->setAttributeSetName('Handmade Ring')
- ->setEntityTypeId(4);
- $modelSet->validate('Handmade Ring');
- $modelSet->save();
- $modelSet->initFromSkeleton(4)->save();
- $installer->installEntities();
- $installer->endSetup();
- ?>
Add Comment
Please, Sign In to add comment