Display Full Country Name on Printing Picking Ticket Using Advanced PDF Templates

When using ${record.shipcountry} on the AdvancedĀ Picking Ticket PDF Template, it will only display the Country Code instead of the full Country Name. A solution is available by using the Shipping Address and trimming its value.

<#list record.shipaddress?split("<br />") as country>
	<#if country_index == record.shipaddress?split("<br />")?size - 1>
		${country}
	</#if>
</#list>

Leave a comment

Your email address will not be published. Required fields are marked *