Adding PO Number to Notification Template of Reseller Invoice

You should preliminarily create a custom attribute that will be used for keeping the PO number value.

To add the "PO Number" column to the HTML notification template for reseller invoice, do the following:

  1. In Billing control panel, go to System > Settings > Notifications > Notification Templates.
  2. Find the notification template by name "ARDoc Details" and click on its name for editing.
  3. Switch to the HTML tab and click Edit.
  4. Insert the following html tags:

    • In the heading of the table:

      <th align="left" bgcolor="#DDDDDD" style="background-color: #dddddd;" class="nowrap">PO Number</th>.
    • In the body of the table (in the ##DetailList# section):

      <td valign="top" align="center" style="border-right:1px solid #dddddd;border-top:1px solid #dddddd;" class="nowrap">@@OrderAttribute_<PO_NUMBER_ATTR>@</td>.

    where <PO_NUMBER_ATTR> – id of the custom attribute.

  5. When ready, click Save. To view the result, you can click Preview.

Now a reseller will see in the invoice an additional column named "PO Number" having purchase order numbers matching orders from CloudBlue Commerce with the corresponding orders in the internal reseller's ERP system.