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

In the Search results page, it is missing the search bar when there's no result #578

Open
florine2623 opened this issue Jan 24, 2024 · 1 comment
Labels
Discussion A question was raised Verified The issue has been reproduced

Comments

@florine2623
Copy link

After I search for a product that does not exist, the results page is empty, it is missing a search bar in the content of the Search results page like we had in classic theme.

Hummingbird theme:

Screenshot 2024-01-24 at 17 38 14

Classic theme:
Screenshot 2024-01-24 at 17 38 07

@florine2623 florine2623 added the Verified The issue has been reproduced label Mar 29, 2024
@tblivet
Copy link
Contributor

tblivet commented May 21, 2024

Hello @florine2623, @nicosomb 👋

It seems that the search bar was intentionally left out.

Indeed, the module that displays this search bar relies on the ID search_widget to work properly. If this ID is used multiple times on the page, the module will not work correctly. For example, the "secondary" search bar will not display a "submenu with products" if it finds products. Additionally, in responsive mode (on small devices), the theme moves the search_widget element, which causes bugs and makes the search bar completely unusable.

So, I deduce that the search bar was clearly intentionally removed from this page. I think we can consider this issue as closed. What do you think?

@tblivet tblivet added the Discussion A question was raised label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion A question was raised Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants