{"id":2516,"date":"2019-09-12T18:49:21","date_gmt":"2019-09-12T13:19:21","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=2516"},"modified":"2020-12-15T17:10:59","modified_gmt":"2020-12-15T11:40:59","slug":"ajax-search-frontend","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-ajax-search-extension\/ajax-search-frontend\/","title":{"rendered":"Ajax Search in Frontend"},"content":{"rendered":"<p>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.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-10262\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/2_Ajax_search_in_action.jpg\" alt=\"Ajax_search_in_action\" width=\"982\" height=\"625\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/2_Ajax_search_in_action.jpg 982w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/2_Ajax_search_in_action-300x191.jpg 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/2_Ajax_search_in_action-768x489.jpg 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/2_Ajax_search_in_action-600x382.jpg 600w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>If such a product is not available, the extension will displays error message as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-10263\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/3_Ajax_search_no_results_found.jpg\" alt=\"Ajax_search_no_results_found\" width=\"982\" height=\"625\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/3_Ajax_search_no_results_found.jpg 982w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/3_Ajax_search_no_results_found-300x191.jpg 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/3_Ajax_search_no_results_found-768x489.jpg 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/09\/3_Ajax_search_no_results_found-600x382.jpg 600w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2510,"menu_order":2,"template":"","manualdocumentationcategory":[1286],"manual_doc_tag":[],"class_list":["post-2516","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-m2-ajax-search"],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2516\/revisions"}],"predecessor-version":[{"id":10264,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2516\/revisions\/10264"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2510"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=2516"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=2516"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=2516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}