how can I set the default view of the Search Result? When I try to search something from the top bar, I get the results in List View, but I would like to display the results in Grid View instead. Any advices?
The search form on the top bar is the default search form of WordPress. It’s used to searching all type of content on your site, like posts, pages, products,… Therefore, we chose to display results in list view. Please go to Appearance > Widgets and add the WooCommerce Search widget to your top bar, replace the current one. With this widget, it will search for products only and the result will display in grid view, as your shop page.
I replaced the widget as you said, but other than some CSS issues I have to fix, it still displays results in List view, even if I have set Grid view as default view in Theme options. I want to avoid to force my customers to use the button in the site toolbar to switch view, I want it to be always set on the default view. Any advices?