Sitelink searchbox code for woocommerce sites
-
Hi,
I was looking in the jsonld code Yoast created for my site and I noticed that the reference for the sitelink searchbox points to domain.com/?s={search_term_string}However, my site is a store so my main search is for products.
The default ?s={search_term_string} shows results in a bad way. Is there a way to force the code to change to the correct format which would be in my case ?s={search_term_string}&post_type=product&product_cat=0 ?
Thank you in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Sitelink searchbox code for woocommerce sites’ is closed to new replies.