Replacing Theme Search

This topic contains 4 replies, has 2 voices, and was last updated by

5 years, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #8090



    Thanks for the great plugin 🙂

    I have more than one problem with the plugin:
    1-Replacing the theme search does not work.
    2- I want the result page to search products and products tags as well so I’m using this
    ?s={phrase}&post_type=product (how can i add product category or product tag to the url?)
    3-I always get this error when redirecting to results page (see attachment)
    “Warning: Cannot modify header information – headers already sent by (output started at /home4/simo/public_html/ in /home4/simo/public_html/ on line 38”
    4- Search speed is too low as i always have to wait for 4-5 sec to get the results


    You must be logged in to view attached files.



    I submitted a ticket 3 days ago still i didn’t get any replies! While all other submitted tickets are all answered even the ones which are submitted after mine!!



    Sorry about the late answer, there are many more tickets than you can see in the forums, that I had to answer first.

    1. It means that the theme is not using the searchform.php method to display the search bar, thus it’s only possible to replace it manually as stated in the documentation. To do that, you will need the search PHP shortcode. I suggest consulting with the theme developer in case you don’t know exactly where to put the shortcode.
    If you want, I can take a look and investigate where it possibly is located.

    2. The “&post_type=product” does redirect the results to the WooCommerce results page, which does not support displaying any other content than products unfortunately. Ajax Search Pro passes the tags and every result to the WooCommerce shop results handler, but it simply removes them.

    3. I cannot see this error message now. Did it disappear, or is it visible on a specific page?

    4. The search speed is ultimately determined by the server speed, but there are many performance tweaks you can try. Please check this chapter in the documentation:

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    You cannot access this content.

    Hi Yaseen,

    I will take a look in a minute, will try to replace it for you.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

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

You must be logged in to reply to this topic.