Developer forum

Forum » Development » eCom Search in sub-groups

eCom Search in sub-groups


Reply

Hi,

 

I have the following group structure:

 

family 1

- sub family 1.1

- sub family 1.2

- sub family 1.3

- ...

family 2

- sub family 2.1

- sub family 2.2

- sub family 2.3

- ...

...

 

No products are related to "family" groups, only to sub-families. We want to set a search filter where the user selects which family he wants to search in. How to I do it?

 

We could try to use a javascript with an if condition and build the url, but since we have as much as 17 subfamilies to a single family, it becomes extremely big. Is there a better way?

 

Best Regards,

Nuno

 

 


Replies

 
Reply

Hi,

 

I need the same function. A customer wants a 'quick search' on his webpage where you can select from a dropdown list of groups where you want to search through.

 

As far as i can see this is not (yet) possible with the 'ecom search'?
Any suggestions or will this be coming in a future update?

 

Regards,

- Remi

 
Reply

I think that GroupID=[comma seperated list of desiredgroup IDs] in the search is what you're looking for?

 
Reply

Hi Lars,

 

That sure makes it easier, but still the system should look in sub-groups when searching in the parent group.

 

I have 17 sub-groups, meaing the GroupID value in the URL is huge, and does not give the client the ease of update when creating a new sub-group.

 

Best Regards,

Nuno

 
Reply

Yeah, a SearchInSubGroups parameter would definately be an advantage in that case. But then again, if that was available, somebody would probably want an Except parameter the exclude some groups:) Include sub groups or not is an ongoing discussion. IMO the current implementation is the most precise and flexible, although pretty heavy.

 
Reply

Hi,

I tried the following querystring: ?ecomsearch=1&GroupID=GROUP96&ProductName=asus

I expected that i could search within GROUP96 but this not working?
Now i get all matching products if i use this querystring and is NOT filtered by GROUP96.

 

(Sorry for the double post in 'eCom serach option' i wanted to post here)
Regards,
- Remi

 
Reply

Hm... Coming to think of it, GroupID is a parameter you can add to the Product Catalog module and have only products from this group displayed.

 

I wanted to check out the code, but since we just changed our version control software, and I'm not yet completely attached, there's gonna be a couple of days before I can give my suggestions.

 
Reply

Hi Lars,

 

Have you been able to check the code?

 

Regards,

- Remi

 
Reply

No, I've been away, som not until today. The search adapts the settings from the paragraph, and it doesn't provide a way to override these settings.

 

I encourage you to participate in the discussion on this blog article by Peter:

http://developer.dynamicweb.dk/Weblog-16918.aspx?action=ShowArticle&ArticleID=153

 

 
Reply

Hi,

 

Is there currently being worked on an improved ecom search? Can you give information which features are going to be implemented and which will be available in the next release?

Best regards,
- Remi
 

 

 

 

You must be logged in to post in the forum