WooCommerce Print Invoice & Delivery Note
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • None
  • WooCommerce-Delivery-Notes
    • Admin
      • Edit-Order
    • Includes
    • Settings
    • Theme

Classes

  • WooCommerce_Delivery_Notes_Print

Class WooCommerce_Delivery_Notes_Print

WooCommerce Print Delivery Notes

Package: WooCommerce-Delivery-Notes\Includes
Author: Tyche Softwares
Located at includes/class-wcdn-print.php

Methods summary

public
# __construct( )

Constructor

Constructor

public
# wdn_add_extra_data_after_items( WC_Order $order )

Add extra data after the order items in the invoice

Add extra data after the order items in the invoice

Parameters

$order
public
# cdn_print_local_pickup_address( array $cdn_local_pickup_locations, mixed $shipping_method )

Print the Local Pickup Address if the Pickup Plus plugin is active

Print the Local Pickup Address if the Pickup Plus plugin is active

Parameters

$cdn_local_pickup_locations
$shipping_method
public
# load_hooks( )

Load the init hooks

Load the init hooks

public
# add_endpoints( )

Add endpoints for query vars. the endpoint is used in the front-end to generate the print template and link.

Add endpoints for query vars. the endpoint is used in the front-end to generate the print template and link.

public
# add_query_vars( $vars )

Add the query vars to the url

Add the query vars to the url

public
# parse_request( $wp )

Parse the query variables

Parse the query variables

public
# build_template_locations( )

Build the template locations

Build the template locations

public
# template_redirect_theme( )

Template handling in the front-end

Template handling in the front-end

public
# template_redirect_admin( )

Template handling in the back-end

Template handling in the back-end

public
# generate_template( $order_ids, $template_type = 'order', $order_email = null )

Generate the template

Generate the template

public
# get_template_file_location( $name, $url_mode = false )

Find the location of a template file

Find the location of a template file

public
# get_print_page_url( $order_ids, $template_type = 'order', $order_email = null, $permalink = false )

Get print page url

Get print page url

public
# get_order( $order_id )

Get the order

Get the order

public
# get_order_invoice_number( $order_id )

Get the order invoice number

Get the order invoice number

public
# get_order_invoice_date( $order_id )

Get the order invoice date

Get the order invoice date

Properties summary

public static $template_registrations
#
public static $template_styles
#
public $template_locations
#
public $template
#
public $api_endpoints
#
public $query_vars
#
public $order_ids
#
public $order_email
#
public $orders
#
WooCommerce Print Invoice & Delivery Note API documentation generated by ApiGen