Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Results
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 8 years, 10 months ago.
- AuthorPosts
- October 21, 2015 at 4:38 pm #6398
Hello, I am really liking the plugin. Though, I am wondering if I can change the search results.
I have an e-commerce website, and would like to ease searching for products. Currently, when a user searches for a product, the user is redirected when pressing the search button or enter.This is the desired result I would like to get: http://furnishingmart.com/product-category/bedroom/
but instead I get only images of products with no pricing info. Also, the images are too big. http://furnishingmart.com/?s=bed&asp_active=1I would like search results to look more similar to an ecommerce website.
Is there something I could do? Thank you!October 23, 2015 at 8:51 am #6427Hi!
The reason why you see those results is because the plugin re-directs to the default wordpress search page by default. The search cannot modify this page layout unfortunately because it’s a theme feature.
However, what you are seeking is to redirect to the woocommerce search page, which is different from the default one. It’s possible, and since you gave back-end details I made the change in the configuration, so now the search redirects to the correct woocommerce search page.
I’ve changed the Redirect to url? option on the General Options -> Behavior panel from
?s={phrase}
to
?s={phrase}&post_type=product
The additional parameter tells wordpress that you are seeking a product, and WooCommerce search takes the control automatically.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.