This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Sorting results by number of sales or page views

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

#36172
Ernest MarcinkoErnest Marcinko
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.