Monday 8 August 2016

Short codes for WooCommerce PDF Invoices & Packing Slips custom template building

[invoice_date]: the date for create Invoice
[delivery_date]: the date for create Invoice
[invoice_number]: Invoice Number, ex: #IN000001
[delivery_number]: Delivery Number, ex: #DE000001
[barcode_invoice_number]: invoice number barcode
[order_number]: The number of Order, ex: #OHSATSERP
[order_date]: The date for checkout
[order_payment_method]: Name of Payment method for this Order
[order_shipping_method]: Name of Shipping Method
[order_subtotal]: Subtotal of Order include currency, ex: $73.90
[order_shipping_cost]: Shipping Cost of Order, ex: $2.00
[order_tax]: Tax of Order, ex: $1.50
[order_discounted]: The number of discounted Price
[order_total]: Order total (include Tax, Shipping Cost, Discounted)
[order_total_not_discount_excl]: Order total (exclude Tax, Shipping Cost, No Discounted)
[order_total_not_discount_incl]: Order total (include Tax, Shipping Cost, No Discounted)
[order_notes]: The notes of Order, ex: Lorem ipsum

[customer_email]
[customer_username]
[customer_firstname]
[customer_lastname]
[customer_nickname]: Customer's Nickname field.
[customer_displayname]: Customer's Display Name field.
[customer_website]
[billing_firstname]
[billing_lastname]
[billing_company]
[billing_address]
[billing_address_line_2]
[billing_zipcode]
[billing_city]
[billing_state]
[billing_country]
[billing_mobile_phone]
[billing_email]

[delivery_firstname]
[delivery_lastname]
[delivery_company]
[delivery_address]
[delivery_address_line_2]
[delivery_zipcode]
[delivery_city]
[delivery_state]
[delivery_country]
[delivery_notes]

[products_list]: This token will be automatic replaced with products table which you can change columns, title,color... in Product Template section of our module.

[total_product_tax_rate]: Tax Rate of an Order
[shipping_cost_excl_tax]: Total Shipping Cost exclude Tax
[shipping_cost_tax_rate]: Tax Rate of Shipping Cost
[shipping_cost_tax_amount]: Total Tax Amount of Shipping Cost
[shipping_cost_incl_tax]: Total Shipping Cost include Tax

[tax_table]: Show Tax Table
[individual_tax_table]: Show Individual Tax Table
[discount_table]: Display Table all Discount in order
[total_voucher_amount_tax_incl]: Total all amount of Coupon include TAX
[total_voucher_amount_tax_excl]: Total all amount of Coupon exclude TAX

No comments:

Post a Comment