Below is the list of placeholders you can use in your message template. Below shortcodes are grouped, so that they are easy to read and find.
General
{{sitename}} | Site Name |
{{wc-order}} | Order Number |
{{wc-order-id}} | Order ID / Post ID |
{{wc-order-date}} | Order Date |
{{wc-order-status}} | Order Status |
{{wc-payment-method}} | Payment Method |
{{wc-transaction-id}} | Payment Transaction ID |
{{wc-shipping-method}} | Shipping Method |
WordPress Profile Details
{{wp-first-name}} | First Name |
{{wp-last-name}} | Last Name |
{{wp-username}} | Username |
{{wp-nickname}} | Nickname |
{{wp-display-name}} | Display Name |
{{wp-email}} | |
{{wp-user-website}} | User Website |
{{wp-user-bio}} | User Bio |
WooCommerce Order Details
{{wc-product-names}} | All Item / Product Names in Order |
{{wc-product-name-count}} | First Item name then item counter |
{{wc-total-products}} | Total Number or Products in Order |
{{wc-total-item}} | Total Number of Items in Order |
{{wc-all-order-items}} | Names of all items in Order |
{{wc-order-amount}} | Total Amount (Incl. Tax) |
{{wc-discount}} | Total Discount Amount |
{{wc-tax}} | Total Tax Amount |
{{wc-order-amount-ex-tax}} | Total Amount (Excl. Tax) |
{{wc-shipping-cost}} | Shipping Cost |
{{wc-refund-amount}} | Refunded Amount |
{{wc-refund-reason}} | Refund Reason |
WooCommerce Billing Details
{{wc-billing-first-name}} | Billing First Name |
{{wc-billing-last-name}} | Billing Last Name |
{{wc-billing-company}} | Billing Company |
{{wc-billing-address-line-1}} | Billing Address Line 1 |
{{wc-billing-address-line-2}} | Billing Address Line 2 |
{{wc-billing-city}} | Billing City |
{{wc-billing-postcode}} | Billing Postcode / ZIP |
{{wc-billing-state}} | Billing State / County |
{{wc-billing-country}} | Billing Country |
{{wc-billing-email}} | Billing Email |
{{wc-billing-phone}} | Billing Phone |
WooCommerce Shipping Details
{{wc-shipping-first-name}} | Shipping First Name |
{{wc-shipping-last-name}} | Shipping Last Name |
{{wc-shipping-company}} | Shipping Company |
{{wc-shipping-address-line-1}} | Shipping Address Line 1 |
{{wc-shipping-address-line-2}} | Shipping Address Line 2 |
{{wc-shipping-city}} | Shipping City |
{{wc-shipping-postcode}} | Shipping Postcode / ZIP |
{{wc-shipping-state}} | Shipping State |
{{wc-shipping-country}} | Shipping Country |
Custom Placeholders
To know more about custom placeholders, please visit the below link