spree-multi-domain icon indicating copy to clipboard operation
spree-multi-domain copied to clipboard

SearchBar needs to list just Taxonomys by Store

Open ghost opened this issue 10 years ago • 2 comments

Inside the Searcbar the "select#taxon" needs to show just the Taxonomies from current_store. Also the searchfilter needs to be reviewed. If we choose "All Departments" the lookup needs to be done within our store_taxonomies, not within all taxonomies.

ghost avatar Mar 12 '14 12:03 ghost

How is that going to be possible? A product can belong to more than one store, and that selection is only made when creating/updating a product. How could we limit the taxonomies?

radar avatar Mar 12 '14 22:03 radar

Sample Data:

store-a -taxon-a -taxon-aa store-b -taxon-b -taxon-bb

Product1 -taxon-a -taxon-b Product2 -taxon-a

if you go to www.store-a.local you will find inside the select-box at the search-bar all taxonomies (a,aa,b,bb). i would say that isn't correct.

if we make a search, the search has to be done within "a" and "aa", since they belong to current_store. result would be Product1 and Product2.

if we look go to store-b.local, we'll find just Product1.

ghost avatar Mar 12 '14 22:03 ghost