• Resolved yatgirl

    (@yatgirl)


    store is in development, your plugin works very well – but is there a way so that it doesn’t insert a search bar to the top of every category page ? I am just looking for an advanced search page – I inserted your shortcode in the page I created for it and it worked very well – but I don’t want the search bar on any other page – is there a solution ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dotstore

    (@dots)

    Hello @yatgirl,

    Thanks for contacting us. There is now not any option for not display advance search. But Yes below solution for display search only showing on sortcode page not any other.

    You can comment or remove this code there after search not showing on other page.
    File location: plugins\woo-advance-search\includes\class-woo-advance-search.php line number 189

    $this->loader->add_action( 'woocommerce_before_shop_loop', $plugin_public, 'woo_advance_search_shortcode', 30 );

    Also, we request you to modify your review.

    Thank you,
    Multidots.

    Thread Starter yatgirl

    (@yatgirl)

    Thanks for your response. I tried your fix and it works. Unfortunately, I don’t modify plugin files because they will be over-written on updates…perhaps you can provide a code snippet for people to remove the action. Unfortunately, in my particular situation – upon further testing – it seems to have a conflict with my Relevanssi search plugin and upon searching my site with your plugin – it gives the error Warning: array_unique() expects parameter 1 to be array, null given in \htdocs\wordpress\wp-content\plugins\relevanssi\lib\search.php on line 1463. I had wanted your search to be in addition to my regular search just on an advanced search page, but I dont think it is going to work out for me. But I am sure it will be great for others.

    Thank you so much for your response and fix – I have adjusted my review.

    Plugin Author Dotstore

    (@dots)

    Hello @yatgirl,

    Glad to know about plugins working well. As you say error Warning comes from another plugin. This error is coming from relevanssi this plugin so you can contact him for that.

    If you need any further help then let me know.

    Thank You,
    Multidots

    • This reply was modified 7 years, 5 months ago by Dotstore.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin adds search bar to every catgeory page’ is closed to new replies.