Forums › Forums › Search & Filter Pro › Sorting Filter Results By Price
Tagged: sorting, woocommerce
- This topic has 7 replies, 2 voices, and was last updated 7 years, 3 months ago by Trevor.
-
Anonymous(Private) July 24, 2017 at 7:32 pm #122472
Hi there,
I’ve set Woocommerce to sort my products by price from highest to lowest. However I’d ike it so that when someone uses the filter, the results are sorted from lowest to highest price. I thought I’d found the setting by editing my filter and clicking on the ‘Posts’ tab at the top and then setting it to the following:
Default order: Meta Value – Ascending
Choose Meta Key: _regular_price – Numerical
However this doesn’t work. Any ideas what I’m doing wrong?
Cheers!
JohnAnonymous(Private) August 2, 2017 at 1:07 pm #124166Hi Trevor,
I am using ACF plugin but the Price field is just the main WooCommerce “Regular Price” field. So I thought the meta key for this would be “_regular_price” – however the settings mentioned in my original post don’t work :-/
Cheers,
John -
AuthorPosts