标签:
Mage::getModel(‘eav/entity_attribute_set‘)->load(‘属性集名称‘, ‘attribute_set_name‘)->getAttributeSetId();
通过属性集名称获取属性集id
原文地址:http://www.cnblogs.com/fengliang/p/4278575.html