Hello,
I am currently using woocommerce and want to redirect every search to the Woocommerce search results page.
I am using these settings: (See image attachment)
It works as expected when I hit enter or click on the magnifier icon, but the searchRedirect
method from that snippet seems to ignore these settings and redirects me to the default wordpress search results page instead.
Is there any way I can fix this?
Thanks in advance,
Adam