Home › Forums › ACF PRO › Woocommerce Sorting Products by ACF Field › Reply To: Woocommerce Sorting Products by ACF Field
You are using two filters on the same field. The only thing that this is doing is to get all of the posts in descending value by the one field. Ordering posts is something that is done on the DB query and not something that WP does after getting the post. Basically your sql query ends up looking something like:
... ORDER BY season DESC, season DESC
I can’t even begin to see a way to get what you want using this type of data.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.