• crayhouse

    (@crayhouse)


    First off…this product is great for my shop page, unless I want to do a product search. When a product search is used, the shop page loads all of the regular categories with sample products…just like I clicked on the shop page, and cannot get search results. Am I missing a setting?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Also experiencing the same problem with the free Repository version of this plugin.

    I am also troubling with this problem.Any one have a solution ???

    Hello,

    This issue happened on my website as well. Any solution for this?

    Thank you.

    Hi, This is also happening on my site too, I have this in the URL https://example.com/?s=query&post_type=product and this just goes straight to the products shop page, when i uninstall your plugin it works perfectly… Are you respecting the search parameters when displaying the shop page or they being ignoerd?

    This issue is also happening for us. Can someone please investigate this and help us come up with a solution?

    Okay, I think I fixed it.

    class WC_PSAD
    {
    
    	public function __construct() {
    		$this->init();
    	}
    
    	public function init () {
    		if($_GET["post_type"] == "product"){ return false;};
    		global $psad_queries_cached_enable;

    @blackaholic89 can you give me more information? Where do I have to place this code?

    In the class-wc-psad.php file of the Plugin?

    I have removed the following code:

    `public function init () {
    global $psad_queries_cached_enable;
    $psad_queries_cached_enable = get_option( ‘psad_queries_cached_enable’, ‘no’ );

    add_filter(‘loop_shop_per_page’, array( $this, ‘limit_posts_per_page’),99);`

    Now it works a bid better for some search terms. With others I get a “parse error”.

    To the plugin developer could you please solve this issue in the next update?

    PS: Strange enough, there is no parse error anymore. It works.

    Actually I have this code:

    `public function init () {
    if($_GET[“post_type”] == “product”){ return false;};
    global $psad_queries_cached_enable;
    $psad_queries_cached_enable = get_option( ‘psad_queries_cached_enable’, ‘no’ );

    add_filter(‘loop_shop_per_page’, array( $this, ‘limit_posts_per_page’),99);`

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce Search Does Not Work With Plugin’ is closed to new replies.