Forums Forums Search & Filter Pro Results are showing incorrect items based on range filter

Tagged: 

Viewing 10 posts - 1 through 10 (of 26 total)
  • Anonymous
    #226862

    I have a range slider setup for the squarefeet of a house. It seems to some relevant items based on the value but then there’s a ton that are incorrect. I’ve verified that data is right but unsure why results aren’t showing as expected.

    Trevor
    #226912
    This reply has been marked as private.
    Anonymous
    #227228
    This reply has been marked as private.
    Trevor
    #227249

    I think the problem is in this settings tab of the form (Tags, Categories and Taxonomies):

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

    I see you have 3 rows of includes. whilst this might not cause issues, having multiple includes often does.

    In the case of Product Bathrooms, you actually wanted all values, so you searched and select ‘Select All’. In fact, for all, you want none selected, so that the field is empty.

    The same may well apply to the other two rows. Can you try that (most likely with all 3 rows empty)?

    Anonymous
    #227266
    This reply has been marked as private.
    Trevor
    #227606

    Can you give me a search to perform and identify a post that should not be there, so I can investigate further?

    Anonymous
    #227614
    This reply has been marked as private.
    Trevor
    #227713

    This has taken me a little while to realize what the problem is. In the form you have set (for example) the product attribute ‘squarefoot’ as a post meta, and thus it can have a range control field. But, Product Attributes are stored by WooCommerce as a taxonomy, and are thus arrays, and so cannot have a range slider.

    Why pa_squarefoot appears as both a post meta and a taxonomy I do not know (some quirk or WooCommerce I suspect).

    But, you would need to set up separate custom fields (using a plugin like Advanced Custom Fields) and enter the data in to those.

    Anonymous
    #227729
    This reply has been marked as private.
    Trevor
    #227823
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 26 total)