- Adding Product Fields to PDF Templates

This feature allows for customizing product data fields in the PDF templates for clients that want to include detailed product information on Sales Receipts, Purchase Orders, etc.

Below is an example of the standard Sales Receipt template. By default, the following fields are included in the product columns:

  • Product Detail
  • Notes
  • Qty
  • Price
  • Discount
  • Total
749

Product Fields can be customized by editing the Product HTML Table located inside the template. This table allows for the insertion of Product Fields selectable from the "Select Fields" dropdown list when Select Field Type is set to Products.

  • Select a template to customize under Settings > Templates.
976

  • Click Edit.
1597

  • Click the Source button located under Template Information.
1557

  • Clicking this button displays the HTML data that can be edited.
1537

  • Scroll down and look for the "sales_order_product_line_items" table. This is the table that can be edited to display barcodes, images, custom field information, etc.
973

  • Follow the format example below to create the new table.
  • Enter the column headings (identified with <th>) along with product field markers (identified with <td>)to be displayed in the PDF in this area.
  • Click Save when finished.
965

967

  • Click Edit to view the new template headings for accuracy. Make changes if needed by selecting "Source" and editing the table.
965

  • Once all changes have been made, create a test order to view the PDF.
859