This topic has 5 replies, 2 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow
1. I’m testing the Search button of main header, but the breadcrumbs of search result page is always Home>Shop as shown in the img https://prntscr.com/103m5c4, even though there is no products found. It looks strange.
2. Can Search widget of sidebar (https://prntscr.com/103mmsf) only search post? (I saw there is a Product Search widget)
Hello,
1) Provide us with WP Dashboard and FTP access to your site. We’ll check the issue in more detail
2) Default search widget searches posts and pages, products. Product search widget searches products only.
Regards
Hello,
update:
I have 3 Search inputs: a) Search button in main header, b)Product Search widget in Shop page, c)Search widget in Blog page. There are serival issues.
1. a)Search Btn result page’s breadcrumbs is always Home>Shop, even though there is no products found.
2. b)Product Search widget searchs posts too, not only products.
3. c)Search widget searchs posts and products.
I want to know how to fix the 1st issue, and how Product Search widget search products only, how to add a Search widget which searchs posts only. Thank you.
Hello,
Thank you. I have passed your issue to our developers. I’ll inform you once they check issue in more detail. It will take some time because we have a lot of requests.
Regards
Hello,
1) If the search by products is enabled in the Theme Options > Header builder > Search then our theme uses the shop archive page as the search results page no matter if products found or not, that’s why shop appears in the breadcrumbs. You can hide it using custom CSS below
.woocommerce-breadcrumb a[href="http://test2.scienedu.tk/?post_type=product"], .woocommerce-breadcrumb a[href="http://test2.scienedu.tk/shop"] {
display: none;
}
2) Fixed. Check the Product search widget now.
3) This is the default WordPress widget and we can do nothing with this. You can check the workaround mentioned here https://www.goldenoakwebdesign.com/blog/how-to-exclude-woocommerce-products-from-the-search-results-in-wordpress if it suits your need.
Regards
You must be logged in to reply to this topic.Log in/Sign up