> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-ajax-search-extension/ajax-search-in-frontend.md).

# Ajax Search in Frontend

On Frontend, whenever any user searches for a particular product, the extension will find relevant products as per set backend configuration and displays in the search form.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FHH3kKr2ddKAbOz3ETLPv%2Fimage.png?alt=media&amp;token=dd24cfea-b712-45f2-91a3-dd0820d2b500" alt=""><figcaption></figcaption></figure>

If such a product is not available, the extension will displays error message as shown below.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F8rklloAjf0ArXey4BOLP%2Fimage.png?alt=media&amp;token=8ed8c46e-d182-4dd5-a20e-3b4bb65a4b3f" alt=""><figcaption></figcaption></figure>
