Homepage › Forum › Product Support › Sofani › Use search from shop page, as the main search results page.
- This topic has 19 replies, 2 voices, and was last updated 8 years, 11 months ago by
Jackie.
-
AuthorPosts
-
8 years, 11 months ago #6434
Hello,
Is there any way to use the search from this page as the main search results page?
I am using the header that's on the home 6 demo page.
Thanks,
Jayme
8 years, 11 months ago #6451Hi, Jayme.
Thank you for your question.
With search field on the shop page, it uses search ajax content for shop products page, not search all content on your site. And with the main search at the sidebar, it uses search for all content on your site ( ex: blog, product, page...). And we can't use search ajax product to replace the main search.
Regards.
Jackie.
8 years, 11 months ago #6482Hi Jackie,
In your demo, you have a "Search Products" field in the header, that searches the products only:

Will there be a setting in a future update to make the search that appears when you click the search icon in this demo only search products?
Thanks,
Jayme
8 years, 11 months ago #6505Hi Jayme.
Thank you for feedback us.
Yes, this is good feature for search icon at the header and we will consider to bring in the next version.
We can add more config for this search function.
Regards.
Jackie.
8 years, 11 months ago #6511That's great, thanks!
Cheers,
Jayme
8 years, 11 months ago #6517Hi Jayme,
We have checked my theme and we found we have an option for search ajax content at the header.
To select post type data for search icon in the header, please go to theme options/ header tabs and scroll down, you will see config Post type for Ajax Search, just check the product if you want search product only for this search function.
Please check it and let me know again.
Regards.
8 years, 11 months ago #65198 years, 11 months ago #6531Hi Threeam.
Thank you for feedback.
This is two type of search, one use search page default of WordPress, and one use search ajax for shop page. Because search page also has post, page any another post type, not only product. That is the reason it does not the look same layout.
We will review this function and make it work well with shop page.
Regards.
Jackie.
8 years, 11 months ago #6532Yes, but I want the main search to search products only. When you click "View More" it does not search only products; it searches everything.
8 years, 11 months ago #6533Okay, can you give us your site URL and admin account? I'll help you check it on your site.
Regards.
8 years, 11 months ago #6558This reply has been marked as private.8 years, 11 months ago #6603Hello,
Any news on this?
Thanks,
Jayme8 years, 11 months ago #6645Hi Threeam.
As I know, you want to all search will be redirected to shop page? And it still not works.
My developer need to change something and check.
Please wait us one or two day. We will feedback soon.
Regards.
Jackie.
8 years, 11 months ago #6661Yep, what I want is:
When I use the ajax search and click "View More" I want to be taken to the product search results, like this page:
http://demo.yolotheme.com/sofani/?s=chai&post_type=product8 years, 11 months ago #6665Hi, Threeam.
We have updated this item to fixed some issue.
With you require, please update our theme first, then go to file direction below and replace this file by my attach file.
/themes/yolo-sofani/templates/header/search-popup.php
This file just for your solution, it will redirect all search to shop page.
Please check it and let me know again.
Regards.
Jackie.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
