属性が割り当てられているセットから属性を削除するには、関数またはコードが必要です。Magento:属性セットから属性をプログラムで削除する
$setup->addAttributeToSet($entityTypeId, $setId, $groupId, $attributeId, $sortOrder=null)
または属性を削除するには:
$setup->removeAttribute($entityTypeId, $code)
が、属性は削除すべきではない私は、属性を割り当てるために、機能を知っています。 AttributeSet 'Default'(グループ 'General')でその属性を見ることはもはや不可能でなければなりません。
removeAttributeFromAttributeSet()
またはSTH:
は、私のような任意の関数を見つけることができません。
$installer = $this;
$installer->startSetup();
$attributeType = 'catalog_product';
$attribute_set_name = 'Default';
$attributeCode='my_attribute';
$setId = $installer->getAttributeSetId('catalog_product', $attribute_set_name);
$attributeId=$installer->getAttributeId($attributeType, $attributeCode);
$installer->deleteTableRow('eav/entity_attribute', 'attribute_id', $attributeId, 'attribute_set_id', $setId);
$installer->endSetup();
から感謝の属性を削除します – Marco