Hi theme.co
Is it me or the ACF checkbox field has something special to loop through?
I created an ACF checkbox field to show in both posts and products backend. This is to show suggested products under each blog post.
Here’s the structure. I used the query builder.
In the row, I looped through the post field and added the ACF custom field key and value that “EXIST”; in the column, I consumed the field; and in the div, I looped and consumed the product field and added the same field’s custom key and value that “EXIST”.
Having checked the box under each product for the same product, I then check the recommended products boxes for each blog post.
I created a checkbox field because for some posts there are more than one product I want to recommended.
This is not working. What am I doing wrong?
Thanks in advance