Why Magento search shows configurable products and simple products together? -
i have created configurable product , simple child products a1, a2 , a3. when search product name, search gives me a, a1, a2 , a3. however, if set child visibility not visible individually not duplicate search results, but way no longer able search child products sku. need able search products sku without getting duplicate results when searching product it's name. how achieve that? thank you.
edit: i'll try put in other words:
- search name should output parent product.
- search sku should output child sku belongs to.
the solution came far add new search meanings links products search term particular sku open child product sku. however, believe bad approach, requires manual creation of search term each child product.
set children not visible
then can add new attribute attribute sets use make configurable products, call childskus. make sure when make attribute set "use in quick search" , "use in advanced search" yes set "catalog input type store owner" text area
in configurable product find attribute , enter sku's of children of configurable it.
save product, rebuild catalog search index , flush cache sure
Comments
Post a Comment