Using EE 2.10.1 and Store v2.4.0 I need to get the value of a Store field out from a related entry. My code is currently this (abbreviated to make it easier to read):
{exp:channel:entries channel="products" limit="1"} <!-- main product tag -->
{exp:store:product_form} <!-- starts the form allowing multi add to cart submit -->
{related_item} <!-- opens tag pair for relationship field and loops related items -->
{exp:store:product entry_id="{related_item:entry_id}" disable_form="yes"} <!-- output individual related item-->
<p>{related_item:title} - {price}</p> <!-- Really really want Store field access here! -->
{exp:store:product}
{/related_item}
{/exp:store:product_form}
{/exp:channel:entries}
However I've tried any number of ways to get the price (or any other Store value) to show without any luck e.g.
{price}
{related_item:price}
{related_item:regular_price}
{related_item:store_field_name:price}
but so far no joy with anything. Is this even possible?!