I have created a custom shop page by copying the archive-product.php
page into mytheme/woocommerce/archive-product.php
. Everything is working fine with that.
However, if I search anything, underneath the ‘custom content’ on the page it displays:
No products were found matching your selection.
It’s not properly displaying the search results due to the fact that (I think) they both use that same template.
I have read that the search results page uses the same template as the woocommerce shop.
So two questions:
-
I think that I need to change the php for the search so that it searches everything and not just the products.
-
Is there a way to redirect/change where the search results are displayed rather than just showing in the shop?