0

We have built an application using advanced search (with Multi select for all attributes) on Product listing page. The problem is that we are having all the attribute Values shown on all the categories, irrespective of whether that is applicable to particular category or not.

Any way where we can pull only applicable attribute values to be shown in advanced search options? Something like in layered navigation?

An example hierarchy is shown below.

CATEGORIES ATTRIBUTES VALUES USED Category 1 ---> Manufacturer | -----------> Sony | -----------> Samsung Category 2 ---> Manufacturer | -----------> BMW | -----------> Toyota 

Now in Category 1 listing page, in advanced search, under Manufacturer, I can see all options: - Sony, Samsung, BMW and Toyota, where BMW and Toyota are not applicable at all.

I wish to have only relevant options.

1
  • Why are you not using a decent search engine like Solr - it is 98% accurate and you can despense with the advanced search - which most users can't be botered with anyway. Sounds like a lot of effort for something that is rarely used. Commented Sep 12, 2014 at 14:41

1 Answer 1

-2

We have found a solution. We have pulled in the query used in by Layered Navigation default to fetch relevant results and got the required filtered options by calling the same from Advanced search module.

1
  • if you can please put the codes which you used to resolve the issue here. Thanks Commented Mar 9, 2015 at 5:27

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.