Please note that this Support article contains frontend customizations via modifying the legacy Algolia template files, which are deprecated and unsupported by the Algolia Support Team.
For more information, please review this Support article - "Why is modifying Algolia template files for customizations not supported?"
For a "recent searches" implementation, it will require some development work.
If your using Version 1 of our AutoComplete Menu the Javascript file where you will be making these changes in would be the assets/algolia_autocomplete.js.liquid
.
-
import { createLocalStorageRecentSearchesPlugin } from '@algolia/autocomplete-plugin-recent-searches';
- Follow this doc: Adding recent searches | Autocomplete | Algolia
Last reviewed 02-11-2022.