- April 22, 2021 at 10:24 pm #32907
I am curious on how to implement a few functionality features:
1. How can I make the search bar only show certain products (i.e. only products that contain a certain phrase in the title or only products that contain a certain tag)?
2. How can I make the results that are more popular (clicked more often) show up before others when they both match the same searched criteria?
Really appreciate the help!
JacobApril 23, 2021 at 9:39 am #32917
2. If you are using WooCommerce, then you can try the following configuration: https://i.imgur.com/eBLOCud.pngBest,
WooCommerce stores the average rating in the
_wc_average_ratingcustom field. If you prefer to order by sale count, then you can also use the
If you like my products, don't forget to rate them on codecanyon :)
April 23, 2021 at 11:13 pm #32923
One quick question on #2. What would I use in that section if I want it to sort by the ones that are most clicked? Wc average rating doesn’t seem to be the same as that.
JacobApril 26, 2021 at 8:36 am #32933
You must be logged in to reply to this topic.