This module adds a products search form, you can use this module anywhere you want.
It only searches in products, not posts or pages. The search results are displayed on a dedicated archive page for products, learn how to build custom search results layouts here.