We have Assembly Items which contains a Custom field for Item Image. This field contains images for our products (Field ID: custitem_atlas_item_image)
I've tried to show these images in the Advanced PDF/HTML Sales order template, but i'm having an issue with it. I'm using the following code:
==============================================
<#if record.item?has_content>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="items2">
<#list record.item as item>
<tr>
<td width="5%" align="center"><@filecabinet nstype="image" alt="" src="${item.item.custitem_atlas_item_image}" style="float: left; width: 25px;" /></td>
</tr>
</#list><!-- end items -->
</table>
</#if>
==============================================
Now with every assembly item in the sales order it shows the same item image.
Even if the item image field has different content per assembly item, it still shows the image of the first item image field in the list. Am I missing a bit of code?
I can't seem to include screenshots at the moment. I'm getting the error "You need the Garden.Uploads.Add permission to do that.