Plugin Author
ILLID
(@mihail-barinov)
Hi,
By default there is no such option.
But if really need this feature I can help you to implement it.
There will be needed some code changes.
Thank you for your reply!
I’m willing to make code changes if you’re able to provide some instructions on what to do.
Plugin Author
ILLID
(@mihail-barinov)
Open assets/js/common.js file, find line
//html += '<li class="aws_result_item aws_search_more"><a href="' + opts.siteUrl + '/?s=' + searchFor + '&post_type=product">View all</a></li>';
and replace it with
html += '<li class="aws_result_item aws_search_more"><a href="' + document.location.origin + '/?s=' + searchFor + '&post_type=product&type_aws=true">View All Results</a></li>';
Thanks! That shows the “view all results” link great.
Is there a way I can limit the amount of products that show in the dropdown, but show all of the products on the results page?
Thanks again!
Plugin Author
ILLID
(@mihail-barinov)
Yes, this simply can be done by changing ‘Max number of results’ option from Adv. Woo Search -> Search Results settings page.
This works for the dropdown, but the search results page itself still only shows 5, when I want it to show all results (Example: dropdown shows 5, search results page shows 50 results)
Never mind! I turned off ‘cache results’ and this fixed itself.
Thanks so much for your help!
Actually, now that I have ‘cache results turned off, I never get the same search results each time I search. Is there any way I can keep that ‘on’ but show all of the results on the search results page?
And is there a way to search for a product sku as the #1 priority? I have it ordered correctly under ‘Active sources Change order by drag&drop’ but that doesn’t seem to be working properly for all skus. Is there anything else I need to set?