ナビゲーション メニューについてサポートが必要です。管理パネルに新しいカテゴリを追加したときに、ナビゲーション メニューにカテゴリが表示されません。ナビゲーション メニューにカテゴリがまったく表示されません。
これが、問題の原因となったデータベースに対して行ったことです。テーブルを切り捨てcatalog_category_entity
ます。テーブルを切り捨てcatalog_category_entity_datetime
ます。テーブルを切り捨てcatalog_category_entity_decimal
ます。テーブルを切り捨てcatalog_category_entity_int
ます。テーブルを切り捨てcatalog_category_entity_text
ます。テーブルを切り捨てcatalog_category_entity_varchar
ます。テーブルを切り捨てcatalog_category_product
ます。テーブルを切り捨てcatalog_category_product_index
ます。
catalog_category_entity
( entity_id
, entity_type_id
, attribute_set_id
, parent_id
, created_at
, updated_at
, path
, position
, ) の値level
に挿入children_count
(1,3,0,0,'0000-00-00 00:00:00','2009-02-20 00:25:34',' 1',1,0,1),(2,3,3,0,'2009-02-20 00:25:34','2009-02-20 00:25:34','1/2' ,1,1,0); catalog_category_entity_int
( value_id
, entity_type_id
, attribute_id
, store_id
, entity_id
, value
) 値 (1,3,32,0,2,1),(2,3,32,1,2,1) に挿入します。insert into catalog_category_entity_varchar
( value_id
, entity_type_id
, attribute_id
, store_id
, entity_id
, value
) 値 (1,3,31,0,1,'ルート カタログ'),(2,3,33,0,1,'ルート カタログ'),(3,3, 31,0,2,'デフォルト カテゴリ'),(4,3,39,0,2,'製品'),(5,3,33,0,2,'デフォルト カテゴリ');
上記のクエリを実行した後、ナビ メニューのすべてのカテゴリがなくなり、管理パネルにカテゴリを追加してもカテゴリが表示されません。
top.phtml ファイルを確認しましたが、コード $this->getStoreCategories() は何も返しません。
どうすればこれを修正できますか?
ありがとう