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

Ordered or simple list if items ordered in mail

currently, html table of products ordered is sent in email.

instead, how can I make a plain text list of products in rules

eg:
products ordered:
-----------------
1.
Name: Product1
qty: 2
price: 200$

2.
Name: product 2
qty: 1
price: 100$

Thanks... Drupal commerce is amazing, superb, fantastic....

Asked by: drupalastic
on May 3, 2014

1 Answer

Vote up!
0
Vote down!

Found out a solution. Posting it here if someone finds it useful...

I dint wanted table because, I wanted to send a simple mail not html mail..

solution:
go to yourdomain/admin/structure/views/view/commerce_line_item_table/edit/default

change it from table to any list you want

now when you use Line items (with underscore) : [commerce-order:commerce_line_items] in your email

you will get the desired list of ordered items

Answer by: drupalastic
Posted: May 8, 2014