Home › Forums › General Issues › Sorting woocommerce products by ACF Date Picker field › Reply To: Sorting woocommerce products by ACF Date Picker field
I would I suggest you fix it? I haven’t got an answer. WP_Query cannot be used to sort these values in any meaningful way. I suspect that this is one of the reasons the save format setting was removed from later versions of ACF.
You can still use the return format in ACF, as long as you are using get_field() to get these values in your functions then those functions should not be affected by what is stored in the database.
I’ve started to type suggestions several times and deleted them. I can’t even come up with a valid plan for replacing all the fields in the DB. In the end I would likely create a new field, manually update every product and then re-code the site to use the new field. This would be a big job.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.