RE: How to show custom fields in Item Label pdf template
Hello. I have turned on the Advanced PDF template for Item Label.
I edited the standard Item Label PDF template but I want to show some custom fields I added to item.
That label object has only a few number of variables but I want to print out a few more fields like “itemid”, “custitem_id”, etc
How could I do this?
Here is the code snippet
<#list records as label> <table cellpadding="5" style="width: 2.65in; height: 1in;border:1px solid #0000dd;float:left;margin-right:0.1in"> <tr><td>${label.itemid}</td><td align="center">Price: ${label.price}</td><td align="center" ><b>Custom PRICE: ${label.custitemfield_id}</b></td></tr> </table></#list>I tried "label.item.itemid" but it didn't work neither. Any help would be appreciated.
you can try like ${label.custitem_id}