Print Shipping Cost Separately From Handling Cost in Advanced PDF/HTML Template

  1. Navigate to Customization > Forms > Advanced PDF/HTML Templates
  2. Preferred Advanced PDF Template: Click Customize/Edit
  3. Toggle Source Code
  4. Source Code: Add the following code:

    <#assign shippingcost = record.shippingcost – record.handlingcost>
    <table>
    <tr>
    <th>${‌record.shippingcost@label}</th>
    <td>${‌shippingcost?string.currency}</td>
    </tr>
    <tr>
    <th>${‌record.handlingcost@label}</th>
    <td>${‌record.handlingcost}</td>
    </tr>
    </table></code>

Leave a comment

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