Thanks Bruno, I went with a version pretty similar:
Relevant code section below:
if ($sum>0){
$output .= '<td>[[+wf.linktext]][[+wf.wrapper]]</td>';
foreach ($values as $value){
$output .= '<td><p>' . $value . '</p></td>';
}
}
I have got this working well in the emailTpl - so many many many thanks for that!
What I would also like, is this approach to work on the Order review page I have where we list the products the user has ordered - I have used the same approach, but when rendered onto a resource it doesn't seem to output? I am using formitRetriever so not sure why its not working.
Any ideas?