When user clicks BACK TO SHOP they dont go to the frontpage but to some random weird looking page, displaying every single product on the entire site. This is both killing the server but is also a bad user experience…
How do I change that? E.g. send them back to frontpage or?
“Back to Shop” button redirects to Shop page where all products are shown. It is not supposed to redirect to your home page.
If you want to redirect your visitors to home page instead of Shop page you need edit the file wp-content/themes/woopress/woocommerce/loop/no-products-found.php, find the code
In this case you need use child theme (woopress-child folder is included in our theme package) and copy the file, so the path will be wp-content/themes/woopress-child/woocommerce/loop/no-products-found.php and edit it to your needs.