If you want Divi to search ONLY products, you are in the right place. We know how frustrating it is that Divi does not search the products but searches everything. This is not great for your customers UX so the snippet below will solve this for you.
Add this code to Divi > Theme Options > Integration > Body.
Once added, some code will by dynamically added which will make the search bar in the header and all the search modules search products only.
We hope this helps you and any questions please ask.