- Invoice
- Dispatch label
- Credit note
- Proforma invoice
Store owners can add a new row to the summary table of WooCommerce documents using the WebToffee’s Customizer for WooCommerce PDF Invoices add-on. Follow the below steps to add a new row to the summary table:
- Navigate to Invoice/Packing > Preferred document type (eg. Invoice) > Customize.
- Head to the Summary Table section of the active template and click on it.
- Click on the ‘+‘ icon present at the right top corner of the Editor pane. A dialog box pops up.
- Select a field type for the new row from the Field type dropdown.
- After choosing the field type, fill in the fields that follow.
- Click on Save.
- Click on Save Template.
Adding a new row to the summary table
Store owners can display additional information on the documents by adding a new row to it. Follow the below steps to add a new row to the invoices:
- Navigate to Invoice/Packing > Invoice > Customize.
- Under the Customize tab, navigate to the Summary table section of the active invoice template.
- Click anywhere on the Summary table. The different elements in the summary table will list up in the Editor pane.
- Head to the Editor pane and click on the ‘+‘ icon at the top right corner. A dialog box titled ‘Add new row‘ will pop up.
- Inside the dialog box, select a field type to display in the new row from the Field type dropdown and fill in the fields that follow.
- Click on Save and add the new row.
- Click on Save template to reflect the changes for the active template.
Field types to choose for the new row
Store owners can select from the following field types:
- A set of predefined values provided by the plugin
- Order meta
- Filter
1. Predefined values
Store owners can select from a set of predefined values provided by the plugin as shown below. To choose a predefined value, click on the preferred value from the Field type dropdown and fill in the fields that follow.
2. Order meta
The dropdown provides store owners the option to add order meta into the new row. Select order meta from the dropdown, specify its order meta key and a suitable label for the new row. Let’s take an example of adding an order meta ‘Order Currency’.
- Select Order meta from the Field type dropdown.
- Enter the meta key and a suitable label in the fields that follow (Here the meta key is _order_currency).
- Click on Save.
3. Filter
Store owners can add custom values to the summary table using the filter option. Here let’s take an example of adding a filter for calculating the net total (subtotal + shipping amount).
- Add the filter/custom code snippet to the WordPress site in use.
- Copy the custom placeholder
wk_pklist_calculate_net_total
from the filter. - Head to the Add new row dialog box.
- Choose Filter from the Field type dropdown.
- Paste the custom placeholder in the Placeholder field below.
- Add a name for the row in Label field.
The images below show WooCommerce invoice documents with a new row added to the summary table.
Rearranging the newly added rows
To rearrange/reorder rows within the summary table of documents, refer to this article.
Deleting a row in the summary table
To delete rows inside the summary table of documents, refer to this article.