hey all, I'm having some difficulty with freemarke...
# advancedpdf
k
hey all, I'm having some difficulty with freemarker in my email template sometimes no shipping cost is entered for an order, so when that happens I want to check if
${transaction.shippingcost}
is an empty string/null/whatever, but for some reason
<#if transaction.shippingcost?has_content>
always evaluates true, even when it spits out nothing when the template actually renders - I tried
transaction.shippingcost??
as well but it still evaluates to true