WooCommerce - transactional emails template parameters

Order addresses (not necessarily similar to the shopper’s address):

Shipping address details (can have multiple addresses) available since 30/08/2017:

{$order.extra.shipping_address.firstName}

{$order.extra.shipping_address.lastName}

{$order.extra.shipping_address.address1}

{$order.extra.shipping_address.address2}

{$order.extra.shipping_address.city}

{$order.extra.shipping_address.stateRegion}

{$order.extra.shipping_address.zipCode}

{$order.extra.shipping_address.countryCode}

{$order.extra.shipping_address.company}

{$order.extra.shipping_address.phone}

 

Billing address details available since 30/08/2017:

{$order.extra.billing_address.firstName}

{$order.extra.billing_address.lastName}

{$order.extra.billing_address.address1}

{$order.extra.billing_address.address2}

{$order.extra.billing_address.city}

{$order.extra.billing_address.stateRegion}

{$order.extra.billing_address.zipCode}

{$order.extra.billing_address.countryCode}

{$order.extra.billing_address.company}

{$order.extra.billing_address.phone}

 

Shipping information

Shipping method - {$order.extra.fulfillments[0].shipping_method} (Sample: "Free shipping")

Have more questions? Submit a request

0 Comments

Article is closed for comments.