Search function to show products
Hi there,
I want to implement the search function to only show the products when someone search. How can I do this? When editing the search template I get a "The rule is already used" error, could you tell me what to do?
Best regards.
-
Hi Stijn
You can implement a search function by adding a Product Archive Template with search page Display Condition.

Please take a look at a test search page here https://homi.kctest.online/?s=chair
Brizy uses the default search function within WordPress. When you setup a Product Search page in Brizy, the search results may include the home page, check out page etc. If you would like to customize the search to only include products, you may need a search plugin. Please look through this list of search plugins and choose a suitable one. https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/
If you get the error "The rule is already used" this means that you have added the "Search Page" Display Condition in another Brizy template already. Each display condition can be added only once. If you have added the "Search Page" display condition to another Brizy Template, delete it from that template. Then you will be able to make a new Search Template.
0
Please sign in to leave a comment.
Comments
1 comment