Filter by reviews?

Forums › Forums › Search & Filter Pro › Filter by reviews?

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #39261

    Is there a way to add an option to filter by reviews? I am using some star-rating review plugins and would love to be able to add this as a filter option on here.

    Thanks

    Ross Moderator
    #39369

    Hey Jon

    This can sometimes be tricky to implement but there is a logical way around it.

    I’m assuming there are multiple reviews by users/customers, and likely, when you display the product you retrieve all the review data, and show an average on the page?

    Well, what we need to do is sort of reverse this out.

    Whenever a new review is submitted, it should get added to the review, but, in addition to this, the review must all be added together and averaged, and then saved back in to a custom meta field for this particular post.

    This means, you custom meta data will always contain the correct average, as a single value, for the overall review of a product.

    Once this is setup you can of course use this for a post meta filter 🙂

    If you have any questions on the above let me know.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 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.