Home › Forums › General Issues › Show Custom Fields in Woocommerce Product Compare › Reply To: Show Custom Fields in Woocommerce Product Compare
I’ve looked at that template, to be honest, it would probably take me several hours of trial and error to figure out how to add fields to that template.
I think it would be done in the foreach loop that starts at line 116, but that’s just a guess.
I would probably start by trying to add some html and text into different places just to see what happens. Once I figured out how to modify the HTML to output my fields then I’d figure out how to get the acf fields.
Honestly, the first thing I’d really do is clean up the coding so that it’s easier for me to read and work with, but that’s a different story.
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.