
A small update if it helps. I changed the field to Relationship field type but I still have the same issue. Also I'm now firing my function in beans_after_posts_loop but still I would get the data from the current post only. I looked around on the ACF forums and I found this bit of debugging code:
//Get products from ACF
add_action( 'beans_after_posts_loop', 'beans_child_show_products' );
function beans_child_show_products() {
?>
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php
$posts = get_field('attach_products');
echo '<pre>';
print_r( $posts );
echo '</pre>';
?>
<?php endwhile; ?>
<?php endif; ?>
<?php
}
This actually prints the data from my attached posts.

Hi Olaf,
Are you trying to get the field from another post on the blog index view or single post view?
If you want to get the value of a post which isn't the current post your are viewing, then you need to pass its post ID as a second argument of the ACD get_field()
function. For example, if you are looking to get the value of the post ID 63 and you are viewing the post 52, you need to do get_field( 'attach_products', 63 )
which will work whether you are in or out of the loop.
Thanks,