How do I display product search results in a single column? Essentially I want to default it to a list view all the time. Would I need to make a controller to append the query variable to the URL?
Magento – Magento 2.0 Default Product Search Results To A List View
magento-2.0magento2search
Best Answer
To set default list mode for search result page, you can copy catalogsearch_result_index.xml
from:
to:
add this code:
into block name: product_list_toolbar