简体   繁体   English

如何在Magento中按类别搜索产品?

[英]How can I search product by its category in Magento?

I am using Magento 1.9.1.0 . 我正在使用Magento 1.9.1.0 Here I want search product by its category . 在这里,我要按category search产品。 Currently I have three categories . 目前我有categories

Furniture 
Kitchen Accessories 
Electronics

Each category have their own products. 每个category都有自己的产品。 Now in search field I type one of my category (for example Furniture). 现在,在search field ,输入我的category (例如,家具)。 But it not gives proper result. 但这没有给出适当的结果。 It should show all product from that specified category (here Furniture). 它应显示该指定类别中的所有产品(此处为“家具”)。 Unfortunately this gives some products from same category and some from other category. 不幸的是,这给出了一些来自相同类别的产品,而某些来自其他类别。

In magento the attribute like Name , Description , SKU etc can make searchable. magento ,可以使诸如NameDescriptionSKUattribute成为可搜索的。 And these work good. 这些工作很好。

So my question is How can I search product by its category ?? 所以我的问题是如何按类别搜索产品?

Please Help me..... 请帮我.....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM