更改属性的范围
一个扩展在我的类别菜单中创建了一个额外的标签。使用此代码: $setup->addAttribute('catalog_category', 'menutopdescription1', array( 'group' => 'General', 'input' => 'textarea', 'type' => 'text', 'label' => 'Topmenu description', 'backend' => '', 'visible' => 1, 'required' => 0, 'is_wysiwyg_enabled' => 1, 'visible_on_front' => 1, 'note'=>'Category description for top menu dropdown', 'is_html_allowed_on_front' => 1, 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL, )); 这导致了全球范围。现在,我想将其更改为“网站”。因此,我可以轻松地将其翻译为其他网站。 该属性在Magento的属性列表中不可见,因此我必须在数据库中进行更改。我必须更改哪个键?