Skip to content

Fix autocomplete product without image#35

Merged
PierreGauthier merged 1 commit intoElastic-Suite:2.2.xfrom
bitExpert-forks:fix/autocomplete_without_image
Jan 19, 2026
Merged

Fix autocomplete product without image#35
PierreGauthier merged 1 commit intoElastic-Suite:2.2.xfrom
bitExpert-forks:fix/autocomplete_without_image

Conversation

@shochdoerfer
Copy link
Collaborator

I had an issue with the autocomplete results not rendering due to this error:

An exception has been thrown during the rendering of a template ('Parameter "path" for route "liip_imagine_filter" 
must match ".+" ("" given) to generate a corresponding URL.') in
"@GallySyliusPlugin/shop/shared/components/header/search/autocomplete/results.html.twig"

I added a bit of logic in the template to also deal with products that don't have images set.

@shochdoerfer
Copy link
Collaborator Author

Was not sure which branch to merge it in. Since the 2.2 branch has more commits than master, I decided to use this branch as the target.

@PierreGauthier PierreGauthier merged commit 76c6c01 into Elastic-Suite:2.2.x Jan 19, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants