I am having a problem in search functionality.
I have two configurable products Say A and B. A's associated products are A1, A2 and A3 similarly B's are B1, B2 and B3.
In catalog search I want the products to be searched by manufacturers; its options are M1, M2 and M3.
For config products A and B I have set manufacturers as M1. So when i search the product i get count 2 for M1.
The thing is when any associated product of A (or B) say A1 is set to manufacturer M2; then A shows up in both the options of M1 and M2 in the Layered navigation.
So while filtering the configurable products the attributes of associated products is also considered, i want to consider only the configurable product's attribute.
Please help me out.