Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show suggestions on search resuts page #189

Open
evs-xsarus opened this issue May 30, 2024 · 1 comment
Open

Show suggestions on search resuts page #189

evs-xsarus opened this issue May 30, 2024 · 1 comment

Comments

@evs-xsarus
Copy link
Contributor

Issue Brief

What is the purpose of this issue? Explain the background context.

Environment

  • PHP Version: 8.2
  • Magento Version: 2.4.6
  • Tweakwise Version: 5.8.3
  • Tweakwise Export Version:

The autocomplete show suggestions and categories, https://support.tweakwise.com/nl/cat/suggesties/62

We would like to show those too on the search results page, but can't seem to enable them there. Is there a method on how to achieve this?

Autocomplete:

image

Search results:

image

@ah-net
Copy link
Collaborator

ah-net commented Jul 23, 2024

@evs-xsarus This is currently not possible. The problem is that the TW api only returns one search suggestion. And no category/brand suggestions if you use the search api. We can change this and show one search suggestion. But to show the others another api call needs to be made.

I'll discuss this internally and see if/what we are going to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants