Forums Forums Search & Filter Pro Sort by product rating – woocommerce

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #26346

    Hello –

    I trying to add sort by rating / filter by rating to my woocommerce shop, but I cannot figure out how to accomplish this. A “rating” related meta tag doesn’t appear in the post meta for me to use for this function. Are you aware of a way to incorporate it?

    Thank you

    Ross Moderator
    #26498

    Hey Trevor

    I didn’t actually try to incorporate this.

    Do you know how the rating is stored? You might have to build a “helper” function, which, whenever you save a product, will store its average rating into the post meta – which you can then in turn use in S&F for sorting.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)