このコードを使用して、プログラムで新しいルート カテゴリを作成しました。
$category = new Mage_Catalog_Model_Category();
$category->setStoreId(0);
$category->setName('Storybloks6');
$category->setUrlKey('storyblocks6');
$category->setIsActive('1');
$category->setIncludeInMenu('0');
$category->setDescription('Produtos que aparecem em destaque no carrossel da home');
$category->setDisplayMode('PRODUCTS');
$category->setIsAnchor('0');
$category->setLevel('1');
$category->setParentId('1');
$parentCategory = Mage::getModel('catalog/category')->load('1');
$category->setPath($parentCategory->getPath());
$category->save();
カテゴリが追加されますが、管理カテゴリ ページでは、ラベルがメニューに表示されません。
新しいカテゴリはメニューに (0) として表示されます。どうすれば修正できますか?