When you search for some queries and click “view all” then it’ll go to the search results page and show all results + some unrelated ones
When you search for other queries, it’ll skip straight to the single-product page.
Example:
Sirup –> straight to single-product page
17 products exist in sirup category, and 11 of these has “sirup” in their name.
On the contrary, the word “malt” only exists in two product titles, but still goes to a search results page.
that’s a whole other issue in and of itself, but that’s very low priority.
As an added bonus info, the theme is “Storefront” and let’s say I do a search for “malt” which ends up on the search results page, and then change the query string from:
/?s=malt&post_type=product&type_aws=true
to
/?s=sirup&post_type=product&type_aws=true
Then WordPress creates a redeirect from the search results page to the product page for the top-product in the suggested-results list.
x-redirect-by: WordPress
The main concern is simply that some searches go straight to single-product, and I have no idea what might be the cause.
]]>I would like to remove the option VIEW: 24 / 48 / ALL from my WooCommerce Store, however wasn’t able to do it by myself.
Thank you very much!
DB
]]>Is it possible to have a search page with all the facets and search items by default. Similar to if you login to Algolia and see your index dashboard.
Example, I want to go to /search
And see everything in my index without using a query that way all items are exposed and people can search inside or use the facets to find what they are looking for.
]]>Also, would I be able to use the Divi page builder to build the “view all results” page?
]]>Paying user here. On shoptimizer theme demo their “View All” link points to
?s=shirt&search_id=product&post_type=product
However, mine does not include post_type=product instead it comes out like this
?s=male&search_id=product
How can I make my “View All” link include the post_type=product attribute as well?
Thanks,
Jennifer
I did just discover a small bug related to menu items. If you are editing a menu from the WordPress admin and click on “View All,” the Better Categories functions end up applying to that list of pages. Any subpages in that list will be hidden, but unfortunately you won’t be able to toggle the parent item to view them.
I solved this on my end by editing better-categories.php in the plugin folder. There is probably a better way to do this, but I was just looking for a quick fix:
In function bc_os_print_scripts(), edit the code to be wrapped in the following IF condition:
<script type='text/javascript'>
jQuery(document).ready(function(){
if (jQuery("#pagechecklist").length === 0) {
/* for post add/edit screen*/
[ALL THE REST OF THE CODE]
}
});
</script>
This prevents Better Categories from firing on the Edit Menu page, but it continues to work fine where we actually need it.
]]>The plugin works great and the results are excellent. The plugin always posts the correct results pertaining to the current post.
My question is: Is there a way to add a “View All” link to show EVEN MORE related posts pertaining to the current post that you are viewing?
Let me know if you need more clarification.
Thanks!!
]]>I am currently using WP Latest Posts to show 8 rotating articles from my site. All these articles are from the same category, like a ”featured news” section.
I would like to give users the possibility to show them all, like a ”View All” link to the archive of all these Featured news. Or a ”load more” button.
Do you know if there is such a possibility within the plugin?
Thanks a lot in advance for your help!
]]>In settings, I have the option above selected and yet, the search results page is not showing any results.
Yes, my theme does have a searchform.php
Yes, I already tried reindexing the table.
e.g.
Mood=”sad” | Genre=”rap” | Tag=”shimmering”
Any one of these Product Attributes should show on the search results page (and therefore also on the ‘View All Results’ page), because they do return results correctly in the AJAX results inline display.
Any ideas?
Thanks so much for your time!
P.S. I even tried adding this PHP code (below) as a Snippet, but my site stopped working because I guess I didn’t add it to the correct ‘necessary files’.
4. Add PHP code to the necessary files of your theme: <?php if ( function_exists( ‘aws_get_search_form’ ) ) { aws_get_search_form(); } ?>
]]>