How to show content pages results with products search results

I’m using magento2 and I can see CMS pages and categories are listed on autocomplete search section.
But those results are not in search results page. I can see only the products are listed on search results page.
Can I know how to include the CMS pages and Category Page results also in results page

Hello @gayankt,

the extension displays only products on search results page, no other content.
In order to display pages and categories on search result page you’ll need to write your own JS code to search those indices and display results from there.

To do it you can use instantsearch.js library and target the same search box which is already displayed on the page.

Let me know if it’s doable for you or if you need more help.

1 Like