Replacing Theme Search

This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 1 month ago.

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

    Hi,

    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/mawjod.com/wp-content/themes/jupiter/header.php:2) in /home4/simo/public_html/mawjod.com/wp-content/plugins/ajax-search-pro/includes/classes/filters/class-asp-searchoverride.php on line 38”
    4- Search speed is too low as i always have to wait for 4-5 sec to get the results

    Thanks,
    Yaseen

    Attachments:
    You must be logged in to view attached files.
    #8127
    Yaseen
    Yaseen
    Participant

    Hi,

    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!!

    #8128
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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: https://goo.gl/Rn6lG6

    Best,
    Ernest Marcinko

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


    #8133
    Yaseen
    Yaseen
    Participant
    You cannot access this content.
    #8170
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Yaseen,

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

    Best,
    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.