Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Sorting results by number of sales or page views › Reply To: Sorting results by number of sales or page views
January 4, 2022 at 1:22 pm
#36172
Keymaster
I honestly don’t know. The “total_sales” custom field is set by the Woocommerce plugin. If there were no sales, then that number should be 0, and in that case (and in every case where the numbers are equal) the secondary ordering is used, which you can also set on that same page.