Programatically Creating Attribute Set – magento

Programatically Creating Attribute Set – magento

In this post we will show you Programatically Creating Attribute Set, hear for Programatically Creating Attribute Set we will give you demo and example for implement.

hear we will show you code for Programatically Creating Attribute Set in magento and add Attribute Set value.

// code for Programatically Creating Attribute
$entity_Type_Id = Mage::getModel('catalog/product')
->getResource()
->getEntityType()
->getId();

$attribute_Set = Mage::getModel('eav/entity_attribute_set')
->setEntityTypeId($entity_Type_Id)
->setAttributeSetName('test_set');

$attribute_Set->validate();
$attribute_Set->save();

$attribute_Set->initFromSkeleton($skeleton_ID)->save();







Hope this code and post will helped you for implement “.$title.”. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org

Leave a Comment

Your email address will not be published. Required fields are marked *

46  +    =  54

We accept paid advance and paid guest Posting on our Site : Contact US