Developer forum

Forum » Swift » Swift - Search bar only on content

Swift - Search bar only on content

Marie Louise Veigert
Reply

Hi,
Running Swift version 1.21. on DW9


I have some sites without products.
It doesn't seem like Its possible to set up search for only content? 

I have set it up to only have a page for content and selected the service page for content only. 

It looks correct in the dropdown:

The issue is if the user press 'enter'. Then it redirects to product search.


Are there a fix for this?

BR
Marie Louise


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Marie Louise

Did you follow this guide: https://doc.dynamicweb.com/swift/setup-project/other/content-and-product-search#24818

 
Marie Louise Veigert
Reply

Yes its just like the guide.

The service page linked to only have a querypublisher for content.

But if the user press enter in the search field, the search assumes it needs to redirect to a product search page.

I have left the link to product search page empty

 

You must be logged in to post in the forum