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?
Developer forum
E-mail notifications
Deactivate product in search
Keld Gøtterup
Posted on 13/08/2015 12:28:54
Replies
Nicolai Høeg Pedersen
Posted on 13/08/2015 15:22:02
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
Posted on 25/08/2015 15:01:49
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¬IncludedInSearch=true
or does it also need filters?
Nicolai Høeg Pedersen
Posted on 26/08/2015 14:01:08
Hi Keld
You need to build an index and a query using the new filtering. See tha manual here:
You must be logged in to post in the forum