Instructions/Guides

Creating a Search functionality for specific product attributes with autocomplete

This product search functionality shows hints based on the first two letters of the attributes. This functionality also involve adding custom endpoint to handle search request and returning the match attributes as hints. 2. Enqueue Javascript for Autocomplete 3. Create a Javascript file here’s the code: 4. Add the Search Input on the template 5. […]