Magento:如果父类别为空,则显示子类别的产品 [英] Magento: Display products from childcategories if parent category is empty

查看:88
本文介绍了Magento:如果父类别为空,则显示子类别的产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下类别

汽车零件(0) 轮胎(0) 轮辋(5)

Car parts (0) Tires (0) Rims (5)

现在在产品清单中显然汽车零部件和轮胎清单返回0个产品.但是对于用户来说这很尴尬.如果类别为空,是否可以显示子项?

Now in the product listing obviously the car parts en tires listing returns 0 products. But for the user this is ankward. Is it possible to show child items if a category is empty?

亲切的问候

推荐答案

您是否已在管理界面中将该类别标记为锚类别?这样一来,子类别的产品就会显示在父类别列表中.

Have you marked the category as an anchor category in the administrative interface? That should allow child categories' products to show up in the parent category listing.

希望有帮助.

谢谢, 乔

这篇关于Magento:如果父类别为空,则显示子类别的产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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