Search Autocomplete results missing suggested products

Hey there,

I’m working on the autocomplete results and noticed that when using this the suggestions seems to not be populating the dropdown. In the default search bar without the edited autocomplete it seems to show some suggestions or products and which category they exist in.

I’m wondering if when using the autocomplete is that option of categories missing?

@tyler @georgebrindeiro

Here’s an example of the default search, products show up in both but the suggestions are missing

Hey @Paulo.ribeiro, could you share more details so I can investigate?

  • What is the store where you are seeing this behavior?
  • Are you using VTEX Intelligent Search?
  • Can you share a code snippet showing how you set up your autocomplete?

I am working on a project for whitebird, what other details for the store would you need?

I am just using the search bar block and autocomplete block

"search-bar": {
    "blocks": ["autocomplete-result-list.v2"],
    "props": {
      "openAutocompleteOnFocus": true,
      "hasIconLeft": true,
      "width": "1000px",
      "placeholder": "What can we help you find?",
      "blockClass": "header-search",
      "displayMode": "none"
    }
  },

  "search-bar#mobile": {
    "blocks": ["autocomplete-result-list.v2"],
    "props": {
      "openAutocompleteOnFocus": true,
      "hasIconLeft": true,
      "maxWidth": "50px",
      "placeholder": "",
      "blockClass": "header-search-mobile",
      "displayMode": "none"
    }
  },
  
  "autocomplete-result-list.v2": {
    "blocks": ["product-summary"],
    "props": {
      "maxTopSearches": 4,
      "maxSuggestedProducts": 3,
      "hideUnavailableItems": false
    }
  },

Here’s an example of the current set up

Hey @Paulo.ribeiro, sorry for the delayed response. Looking through their website it looks like your are using Intelligent Search (i.e. the account has vtex.search-resolver@1.x installed) and the behavior has been corrected. Could you confirm?

If that is the expected behavior, could you share how it was fixed?

If it is not the expected behavior, could you share more details on what you expected to show up?

hi! what was the solution to achieve this behavior?