Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the front end I get 238 results…So something strange is happening.

    Noticed that woocommerce had an update to 3.5.5, but it did not help the situation.

    Can I create a user for you so you can log in and see for your self?

    I get some results, but not the correct ones. With the same search as I mentioned above, I still se “387 kohdetta” but the search results print out 10 hits. The search is paginated but when going to page 2 of the search results, it shows “Etsittyä tuotetta ei löytynyt”

    The var dump:

    array(66) {
      ["paged"]=>
      int(1)
      ["post_type"]=>
      string(7) "product"
      ["product_type"]=>
      string(0) ""
      ["posts_per_page"]=>
      int(50)
      ["post__in"]=>
      array(0) {
      }
      ["product_search"]=>
      bool(true)
      ["error"]=>
      string(0) ""
      ["m"]=>
      string(0) ""
      ["p"]=>
      int(0)
      ["post_parent"]=>
      string(0) ""
      ["subpost"]=>
      string(0) ""
      ["subpost_id"]=>
      string(0) ""
      ["attachment"]=>
      string(0) ""
      ["attachment_id"]=>
      int(0)
      ["name"]=>
      string(0) ""
      ["static"]=>
      string(0) ""
      ["pagename"]=>
      string(0) ""
      ["page_id"]=>
      int(0)
      ["second"]=>
      string(0) ""
      ["minute"]=>
      string(0) ""
      ["hour"]=>
      string(0) ""
      ["day"]=>
      int(0)
      ["monthnum"]=>
      int(0)
      ["year"]=>
      int(0)
      ["w"]=>
      int(0)
      ["category_name"]=>
      string(0) ""
      ["tag"]=>
      string(0) ""
      ["cat"]=>
      string(0) ""
      ["tag_id"]=>
      string(0) ""
      ["author"]=>
      string(0) ""
      ["author_name"]=>
      string(0) ""
      ["feed"]=>
      string(0) ""
      ["tb"]=>
      string(0) ""
      ["meta_key"]=>
      string(0) ""
      ["meta_value"]=>
      string(0) ""
      ["preview"]=>
      string(0) ""
      ["s"]=>
      string(12) "195/60 conti"
      ["sentence"]=>
      string(0) ""
      ["title"]=>
      string(0) ""
      ["fields"]=>
      string(0) ""
      ["menu_order"]=>
      string(0) ""
      ["embed"]=>
      string(0) ""
      ["category__in"]=>
      array(0) {
      }
      ["category__not_in"]=>
      array(0) {
      }
      ["category__and"]=>
      array(0) {
      }
      ["post__not_in"]=>
      array(0) {
      }
      ["post_name__in"]=>
      array(0) {
      }
      ["tag__in"]=>
      array(0) {
      }
      ["tag__not_in"]=>
      array(0) {
      }
      ["tag__and"]=>
      array(0) {
      }
      ["tag_slug__in"]=>
      array(0) {
      }
      ["tag_slug__and"]=>
      array(0) {
      }
      ["post_parent__in"]=>
      array(0) {
      }
      ["post_parent__not_in"]=>
      array(0) {
      }
      ["author__in"]=>
      array(0) {
      }
      ["author__not_in"]=>
      array(0) {
      }
      ["ignore_sticky_posts"]=>
      bool(false)
      ["suppress_filters"]=>
      bool(false)
      ["cache_results"]=>
      bool(true)
      ["update_post_term_cache"]=>
      bool(true)
      ["lazy_load_term_meta"]=>
      bool(true)
      ["update_post_meta_cache"]=>
      bool(true)
      ["nopaging"]=>
      bool(false)
      ["comments_per_page"]=>
      string(2) "50"
      ["no_found_rows"]=>
      bool(false)
      ["order"]=>
      string(4) "DESC"
    }
    
    

    Hi, I have the same problem and added your fix with the two add_filter(). What happens is that with the fix I can now se, that the search finds for example “387 kohdetta”, but in the list only “Etsittyä tuotetta ei löytynyt”, so it appears that the search finds the products but cannot list them in admin.

Viewing 3 replies - 1 through 3 (of 3 total)