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

How do I get product titles in order notification email?

My goal is to get a list of product titles from the order into an e-mail. I'm dong anonymous checkout, so I'd like their purchased products to be in an e-mail for their reference since they can't login to view their order. My Google-fu has failed me. I can get line item SKU (label), type, id, etc. but I can't seem to find the Commerce Line Item: Title (Product) field (what seems to be the nice product title with spaces and everything). I tried adding Entity has Field conditions to the rule, but nothing I can think to try gets me to the title field. I feel like I'm missing something incredibly simple.

Asked by: jrearick
on September 17, 2013

2 Answers

Vote up!
1
Vote down!

Hi

You have to install comerce email module

https://drupal.org/project/commerce_email

After that follow step by step process
https://drupal.org/node/1471758 to configure the module

Now go to
admin/structure/messages/manage/commerce_order_order_confirmation
to edit the email content
.
Here You have tokens available
For Example : if you need order line item in email, Please click on message token and you can see available toke.You copy paste the tokens you want in your email.
[message:message-commerce-order:commerce-email-order-items] will give you line items with title ,qty price ....

Hope this will help you

Regards
Ajai Chandran

Answer by: ajaichandran
Posted: Sep 18, 2013

Comments

Thanks Ajai. I was a little reluctant to try a module that was only in dev and has dependencies in Alpha releases, but it looks like it seems to be in wide use anyway. I did notice you kind of mixed instructions for configuring commerce_email with commerce_message. I fiddled with commerce_message too, but didn't get the token I needed. I think this will work for my needs.

- jrearick on September 18, 2013
Vote up!
0
Vote down!

Exists a new solution for this issue?
The module is still in dev.

Answer by: Regina Oswald
Posted: Jun 16, 2017