Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Split info contained in [commerce-order:commerce_customer_shipping]

Hallo Guys
I want to send an email containing the following information about customer shipping user:
- name
- email
- address
If I use in the body fields
[commerce-order:mail-username]
[commerce-order:commerce_customer_shipping]

I receive
[email protected]
Name Surname
street ....
zipcode City zone
county

I want to split [commerce-order:commerce_customer_shipping] in different fields:
- Name Surname
- Address
- Zip code
- City
- Zone
- Country

I try to use for zipcode
[commerce-order:commerce_customer_shipping:0:postal_code]
or
[commerce-order:commerce_customer_shipping:postal_code]
but nothing appear.

is possible to split the [commerce-order:commerce_customer_shipping] structure and extract any single fields ?

thank you

Janhu
Asked by: Janhu
on August 27, 2016

1 Answer

Vote up!
0
Vote down!

please clarify what message system you are using. is this commerce_message?

Answer by: drupalability
Posted: Jan 7, 2017
骚虎视频_骚虎app