Hi @dsdrk,
Leo’s suggestion was to change the search function for the entire site but the default search form’s basic functions are intact.
The code suggestion from the documentation he linked is basically changing the results of the post to only look for products. It doesn’t change anything else.
Meanwhile, Ying’s suggestion is about adding a new search functionality which is the one specifically from WooCommerce.
But the issue you seem to be having with it is, the hook doesn’t seem to be working as you’ve mentioned you’re not seeing a text.
That’s because Ying’s suggestion was meant to display a search bar –
https://woocommerce.com/document/woocommerce-product-search/shortcodes/woocommerce_product_search/
If you’re not seeing the search bar, then it’s likely because the hook wasn’t successful. Perhaps it’s because your site is using an older version of GeneratePress that is set to use the old “Floats” layout instead of “Flexbox”. (This setting can be found on Appearance > Customize > General)