Archived and Closed
This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: EOL CLEANUP
[% foreach context:event:line_items as item %]
<tr><td>[% context:item:inv_no %]</td><td>[% context:item:price %]</td></tr>
[% endforeach %]
All I get is the table header. If I remove the tr/td tags in the body then it displays the items and prices, but not formatted or in my table cells as intended. It seems the tags are confusing the loop logic. I've tried various other options like using a non-HTML block and the code edit button but then it tries to be too smart about what it thinks I'm doing and moves the endforeach just after the foreach and it loses what I'm trying to do.
If there is a different way about this please let me know or provide some working examples. So far I've not found much in the way of examples other than a simple loop with no HTML inside the foreach loop.