PrestaShop/hummingbird

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

Opened this issue · 1 comments

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

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?