Magento:在 Magento 前端隐藏空类别的最快方法?
我想做的事情似乎微不足道,但过去 3 小时我一直在 Google 上查找此内容,但找不到......
-->我只是想列出我网站的类别,但隐藏那些空的类别,并且它们的所有子类别也都是空的(没有产品)。
这不是很容易做到的吗??我发现的所有内容似乎都非常复杂或自定义编码。我是唯一一个不想显示空类别的人吗?
注意:我使用的是 Magento 1.3.2.4,我不想在后端手动隐藏类别。
What I'm trying to do seems trivial but I've been looking on Google for this for the past 3 hours and can't find it...
--> I'm just trying to list the categories of my website but hide those that are empty AND that all their subcategories are also empty (no products).
Shouldn't that be easy to do?? Everything I've found seems utterly complicated or custom-coded. Am I the only one that doesn't want to show empty categories?
Note: I'm using Magento 1.3.2.4, I don't want to manually hide categories in backend.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Pratski 有一篇关于此内容的文章:
仅在类别中有产品时显示
There is an article about that from Pratski :
Display Only If There Are Products In The Category