Magento不在管理员中显示所有类别 [英] Magento doesn't show all the categories in admin

查看:50
本文介绍了Magento不在管理员中显示所有类别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一家magento商店,其中一个类别又一个类别(另一个类别).我们的问题是,当我们在左侧的类别树中输入管理员来管理类别时,某些具有子类别的类别看起来正确,但左侧带有加号(+)图标,但是当我们尝试扩展类别时,magento却没有不显示任何项目.

we have a magento store with various categories one inside another (subcategory). Our problem is that when we enter in the admin to manage categories in the category tree on the left, some of our categories that has subcategories looks correctly with the plus (+) icon on the left but when we try to expand the category magento doesn't display any item.

此URL的ajax调用点:

The ajax call point to this url:

index.php/admin/catalog_category/categoriesJson/key/09b218741dce69171825fdbf4954855d/?isAjax = true

index.php/admin/catalog_category/categoriesJson/key/09b218741dce69171825fdbf4954855d/?isAjax=true

,它返回一个空数组而不会引发任何错误.前端正确显示所有类别.

and it returns an empty array without throwing any error. Frontend displays all the categories correctly.

Magento版本1.4.2.1

Magento version 1.4.2.1

有什么主意吗?

推荐答案

阅读约瑟夫的答案后,我试图在catalog_category_entity中搜索错误,并发现我树中的所有类别都具有1或2级,除了似乎没有第7级.奇怪的是,无论如何我还是认为第7级是该类别的正确级别,我认为问题是Magento找到了第2级的类别,它指导孩子有lavel 7,但没有将那些类别识别为父亲类别的子类别.

After reading Joseph answer i've tried to search for errors in catalog_category_entity and founded that all the categories in my tree has level 1 or 2 except for the categories that doesn't appear that have level 7. The strange things is that level 7 is the correct level for those category anyway i think that the problem is that Magento found a category with level 2 and it direct children has lavel 7 and it doesn't recognize those category as children for the father category.

我将孩子的等级更改为2,一切似乎正常.

I've changed level of the children to 2 and everything seems to work.

为什么我树中的所有类别都具有1级?我不知道...

Why all the category in my tree has level 1 ? i don't know ...

这篇关于Magento不在管理员中显示所有类别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆