Search Results Page
Divi BodyCommerce allows you to customise the search results page template of WooCommerce using the Divi builder and our custom modules.
Steps to create a custom search results page template:
- Create a custom layout in the Divi Library
- Assign this layout in Divi BodyCommerce's settings
1. Create a custom layout in the Divi Library
Go to Divi > Divi Library and create a new layout. Choose "layout" and call this layout whatever you want and assign it to a category if you wish (for your own personal organisation).
Now here you will need to let your creative juices flow in terms of how you want the page to look. You can add any modules that work on the search results page (see a full list below) but the minimum requirement is to add the "BC Product Loop" module. This module will automatically show the results. Use this module much the same as the category page.
2. Assign this layout to overwrite WooCommerce.
Now once you have created the layout, go to Divi Engine > BodyCommerce > Search Results Page. Here you will see the following settings:
Select search page template: This is where you assign this layout you just created.
Override divi search?: By default Divi does not JUST search products and no SKU. If you enable this - we will take control of the search and only search for products on your store (not pages and posts). Enable this if you want to override the Divi search to ONLY search products and therefore use our custom search template above.