Developer forum

Forum » Ecommerce - Standard features » Deactivate product in search

Deactivate product in search

Keld Gøtterup
Reply

We have a need to remove a product from the index so it wont be searchable, but it should still be accessible by a direct url.

How can this be done?
 


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Keld

That is not possible with the old index search.

If you use the new index though (From 8.6), you can create a custom field called "Do not include in search" and change the Query to not include products that have that checkbox set.

BR Nicolai

Votes for this answer: 1
 
Keld Gøtterup
Reply

We have now upgraded the solution but i would like a bit more explanation on the solution.

is it simply extending the searchquery like this: ?eComQuery=beam&notIncludedInSearch=true

or does it also need filters?

 
Nicolai Høeg Pedersen
Reply

Hi Keld

You need to build an index and a query using the new filtering. See tha manual here:

http://developer.dynamicweb.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fDevelopment%2fGeneral%2f(en-US)+Indexing+(Draft).pdf

 

You must be logged in to post in the forum