Woocommerce : problems with search after upgrade version from 2.5.0 to 2.5.2

Forums › Forums › Search & Filter Pro › Woocommerce : problems with search after upgrade version from 2.5.0 to 2.5.2

Viewing 9 posts – 1 through 9 (of 9 total)
  • Anonymous
    #269894

    Hello!

    Since I have upgrade the version from 2.5.0 to 2.5.2, I can’t get my search works correctly:
    Configuration:
    Woocommerce + custom theme (_s) with woo custom fields in functions.php + WPML
    Everything is update, woocommerce database also.

    symptoms:
    1. When I make a search, with or without AJAX, the search no return results:
    query string: /?_sfm__weight=0+4200&_sfm__length=0+530&_sfm__width=0+330&_sfm__height=0+230&_sfm__diameter=0+300
    If I do search without range selector, works perfectly.
    If I change the querystring and mantain only 1 parameter, works perfectely.
    Field relationships: “AND”

    Thanks in advance.
    Rui

    Trevor
    #269901
    This reply has been marked as private.
    Anonymous
    #269923
    This reply has been marked as private.
    Anonymous
    #269925
    This reply has been marked as private.
    Anonymous
    #269996

    Have you any suggestion to solve the problem?

    Trevor
    #270039

    With the example search that you gave me, you are trying to find products that are both ‘astrays’ AND ‘bowl’ at the same time. That is unlikely to happen. The AND is set here:

    https://www.screencast.com/t/xKZYWbvGXlW

    I think it needs to be ‘OR’.

    Anonymous
    #270079
    This reply has been marked as private.
    Anonymous
    #270081
    This reply has been marked as private.
    Trevor
    #270165

    Range controls do act (intentionally so) oddly, in some circumstances.

    They assume that all posts have a value set in the field(s) they are based on. If any post does not have a value in ANY of the range fields, it will not appear in the results. This only applies to range type controls.

    The simplest way to test this is to change the form fields/controls to the Choice type and see what happens.

Viewing 9 posts – 1 through 9 (of 9 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.