Hi, I’m tyring to display an image from a repeater field on another page I’ve setup with ACF into Woocommerce tabs. I’ve got the tab showing correctly as well as the text field from the repeater but not sure how to retrieve the image. Code so far is:
$post_id = 828;
if( get_field('18mm-buttons', $post_id) )
{
echo '<ul>';
while( the_repeater_field('18mm-buttons', 828) )
{
echo '<li>'. get_sub_field('button-sku') . '</li>';
}
echo '</ul>';
}
The image field I’m trying to retrieve is “button-image” and is on the same field as the row above.
Thanks in advance.