2
Dodaj niestandardowe atrybuty do niestandardowego zestawu atrybutów programowo
Cześć Czy ktoś może mi w tym pomóc? Utworzyłem niestandardowy zestaw atrybutów i niestandardowy atrybut jako $installer = $this; /* @var $installer Mage_Eav_Model_Entity_Setup */ $installer->startSetup(); //Create Attribute set with Based on Default attribute set //$installer->removeAttributeSet(Mage_Catalog_Model_Product::ENTITY, 'New Attr Set'); /* $skeletonID=$installer->getAttributeSetId('catalog_product','Default'); $entityTypeId = Mage::getModel('catalog/product') ->getResource() ->getEntityType() ->getId(); //product entity type $attributeSet …