View Product Page

Actions

templates/yith-pdf-invoice/receipt-totals.php

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

templates/yith-pdf-invoice/receipt-details.php

Copied!
Copy

Section after the product content in the receipt product column

Params
 object $document the document object
 object $_product the product object
 object $item_id the item ID

templates/yith-pdf-invoice/order-content.php

Copied!
Copy

Action to show the products list

Params
 object $document the document object

Copied!
Copy

Action to show the template totals

Params
 object $document the document object

templates/yith-pdf-invoice/invoice-totals.php

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

templates/yith-pdf-invoice/invoice-template.php

Copied!
Copy

Params
 object $document the document object

Copied!
Copy

Show the header of the document

Params
 object $document the document object

Copied!
Copy

Show the template that contains the company data

Params
 object $document the document object

Copied!
Copy

Show the template for the customer and invoice data

Params
 object $document the document object

Copied!
Copy

Show the template for the product details

Params
 object $document the document object

Copied!
Copy

Show the template for the order notes

Params
 object $document the document object

templates/yith-pdf-invoice/invoice-details.php

Copied!
Copy

Section after display the product image in the invoice data

Params
 object $_product the product object.
 object $document the document object.

Copied!
Copy

Section after display the product name in the invoice data

Params
 object $_product the product object.
 object $document the document object.

Copied!
Copy

Section after the product content in the invoice product column

Params
 object $document the document object
 object $_product the product object
 object $item_id the item ID

templates/yith-pdf-invoice/document-notes.php

Copied!
Copy

Section before display the document notes


Copied!
Copy

Section after display the document notes

Params
 object $document the document object.

Copied!
Copy

Section to display the delivery date label

Params
 object $document the document object.

templates/yith-pdf-invoice/document-data.php

Copied!
Copy

Params
 object $document the document object

Copied!
Copy

Params
 object $document the document object

templates/yith-pdf-invoice/document-data-receipt.php

Copied!
Copy

Section to display the Barcode or QR from the YITH Barcodes plugin

Params
 int the order ID.

templates/yith-pdf-invoice/document-data-packing-slip.php

Copied!
Copy

Section at the start of the packing slip

Params
 object $document the document object.

Copied!
Copy

Display the packing slip data after the order number

Params
 object $document the document object.

Copied!
Copy

Display the packing slip data after the order date

Params
 object $document the document object.

Copied!
Copy

Section at the end of the packing slip

Params
 object $document the document object.

templates/yith-pdf-invoice/document-data-invoice.php

Copied!
Copy

Section to display the Barcode or QR from the YITH Barcodes plugin

Params
 int the order ID.

templates/yith-pdf-invoice/document-data-credit-note.php

Copied!
Copy

Section after the display of the order number in the template

Params
 object $document the document object

templates/yith-pdf-invoice/customer-details.php

Copied!
Copy

Section after the customer content in the invoice

Params
 object $document the document object
 int $order_id the order ID

templates/yith-pdf-invoice/credit-note-totals.php

Copied!
Copy

Section before the document total

Params
 object $current_order the order object

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

templates/yith-pdf-invoice/credit-note-details-with-products.php

Copied!
Copy

Section after the product content in the invoice product column

Params
 object $document the document object
 object $_product the product object
 object $item_id the item ID

templates/yith-pdf-invoice/pdf-builder/product-totals.php

Copied!
Copy

Section before the document total

Params
 object $current_order the order object

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

templates/yith-pdf-invoice/pdf-builder/product-totals-credit-notes.php

Copied!
Copy

Section before the document total

Params
 object $current_order the order object

Copied!
Copy

Section after the document total

Params
 object $current_order the order object

templates/yith-pdf-invoice/pdf-builder/product-table.php

Copied!
Copy

Section after display the product image in the invoice data

Params
   object  $_product  the product object.
   object  $resource  the document object.

Copied!
Copy

Section after display the product name in the invoice data

Params
   object  $_product  the product object.
   object  $resource  the document object.

Copied!
Copy

Section after the product content in the invoice product column

Params
 object $resource the document object
 object $_product the product object
 object $item_id the item ID

templates/yith-pdf-invoice/modern_template/document-data.php

Copied!
Copy

Params
 object $document the document object

templates/yith-pdf-invoice/black_white_template/document-data.php

Copied!
Copy

Params
 object $document the document object

Copied!
Copy

Params
 object $document the document object

includes/class.yith-ywpi-backend.php

Copied!
Copy

Section to show the invoice buttons in the orders list

Params
 object $order the order object

Copied!
Copy

Section after the view invoice button

Params
 object $order the order object

Copied!
Copy

Section at the bottom of the invoice section

Params
 object $post the post object

Copied!
Copy

Section after the view credit note button

Params
 object $refund the refund object

Copied!
Copy

Allow to print additional sections in the invoice metabox at the order edit page

Params
 object $post the $post object

Copied!
Copy

Section at the bottom of the invoice order metabox

Params
 object $order the order object

includes/class.yith-woocommerce-pdf-invoice.php

Copied!
Copy

Trigger the regenerate document on bulk actions

Params
 object $object the invoice object.
 int $order_id the order ID.
 string $type the document type
 string $extension the document extension

Copied!
Copy

Trigger after the automatic proforma creation

Params
 int $order_id the order ID.

Copied!
Copy

Trigger after the automatic invoice creation

Params
 int $order_id the order ID.

Copied!
Copy

Trigger after the automatic packing slip creation

Params
 int $order_id the order ID.

Copied!
Copy

Section to show the invoice information link

Params
 object $invoice the invoice object.
 int $order the order object.

Copied!
Copy

Trigger when a document is created

Params
 object $document the document object.
 string $document_type the document type.
 string $extension the document extension.

Copied!
Copy

Trigger when a document is regenerated

Params
 object $document the document object.
 string $document_type the document type.
 string $extension the document extension.

Copied!
Copy

Allow custom actions before replace the customer details in the documents


Copied!
Copy

Allow custom actions after write the HTML in the PDF template

Params
 object $mpdf the MPDF object
 object $document the document object

Copied!
Copy

Allow custom actions after generate the PDF template

Params
 object $mpdf the MPDF object
 object $document the document object

Copied!
Copy

Allow custom actions before generate the PDF template

Params
 object $document the document object
 string $extension the document extension

includes/class.yith-woocommerce-pdf-invoice-premium.php

Copied!
Copy

Allow actions in the custom item metas

Params
 int $item_id the item ID.
 object $order the order object

includes/class.yith-documents-bulk.php

Copied!
Copy

Trigger the create document on bulk actions

Params
 object $object the invoice object.
 int $post_id the post ID.
 string the document type