[英]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
,可以使诸如Name
, Description
, SKU
等attribute
成为可搜索的。 And these work good. 这些工作很好。
So my question is How can I search product by its category ?? 所以我的问题是如何按类别搜索产品?
Please Help me..... 请帮我.....
Follow the step by step procedure. 请按照分步过程进行操作。 http://www.magentocommerce.com/wiki/5_-_modules_and_development/search_and_advanced_search/how_to_add_search_by_category_to_advanced_search
http://www.magentocommerce.com/wiki/5_-_modules_and_development/search_and_advanced_search/how_to_add_search_by_category_to_advanced_search
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.