Search Results

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6398
    lsanc274
    lsanc274
    Participant

    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=1

    I would like search results to look more similar to an ecommerce website.
    Is there something I could do? Thank you!

    #6427
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.