Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Hide whole line on Advanced PDF/HTML Template if Quantity = 0
Hi,
Working with Advanced PDF/HTMl and trying add logic where if Quantity =0 then I would want the whole line to not show when printed.
Example:
<tr>
<td align="center" colspan="2" line-height="150%"><#if item.quantity?? && item.quantity!=0>
${item.quantity}
</#if>
</td>
<td colspan="12"><span style="font-weight: bold; line-height: 150%; color: #333333;">${item.item}</span><br />${item.description}</td>
<td align="center" colspan="3"><#if item.custcol_ws_ship_method == "Delivery">DEL <#elseif item.custcol_ws_ship_method == "Customer Pick Up">CPU <#elseif item.custcol_ws_ship_method == "Outside Services">OSS <#elseif item.custcol_ws_ship_method == "Ship To Other Store">TOS</#if></td>
3