“view all” button going directly to single-product
-
We’ve implemented Advanced Woo Search V. 2.58 and experienced a slightly weird behaviour when searching.
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=trueto
/?s=sirup&post_type=product&type_aws=trueThen 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: WordPressThe main concern is simply that some searches go straight to single-product, and I have no idea what might be the cause.
The page I need help with: [log in to see the link]
- The topic ‘“view all” button going directly to single-product’ is closed to new replies.