Home › Forums › Pre-purchase Questions › Building a product finder with ACF › Reply To: Building a product finder with ACF
This is a very large project and would not be possible to explain everything.
I suggest you break it down into parts and then look into each part. Beyond the fact that you’ll be using ACF fields in your queries there is very little that this really has to do with ACF.
You need a form. Every change made will require a JavaScript action that makes an AJAX request to do a query that returns values to populate another field.
1) Create Form
2) Create fields
3) Add an action to every field when it is changed
4) Client side make correct AJAX request
5) PHP side to process that AJAX request and return value in JSON fromat
6) Client side to parse the response and populate fields/content
When all is said and done you won’t be able to connect this to the loop. You will need to run a loop when processing the final AJAX request over the returned results and return the data and links that you want shown and then the JS on the client site will need to populate the content to the page.
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.