Home › Forums › Backend Issues (wp-admin) › post object add custom entries for order › Reply To: post object add custom entries for order
The post object field, like the relationship field, searches post content and post titles. It can only find text in these two fields. This likely means that orders do not use these fields.
I do not know anything about how WC stores orders so I cannot give you any specific information. What you will need to do is figure out how the orders are stored and locate the data you want to search. Then you will need to modify the search query “WHERE” statement to include this data in the search in conjunction with acf/fields/post_object/query.
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.