Home › Forums › ACF PRO › Creating a searchable 'database' from excel sheet › Reply To: Creating a searchable 'database' from excel sheet
Hi @tjm1987
I think you need to check if a restaurant post with the same title exists or not (I believe the restaurant and supplier name are unique ). If it does, then check if a supplier post with the same title exists or not. If the supplier exists, get the ID and update the relationship. If not, create a new supplier first.
I hope this makes sense 🙂
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.