I have created a new transaction email
using
system->configuration->transaction email
I want to show some information from database
petname
room
type
how to fetch these information from database and show in email
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can use template files to add extra information in transaction email:
Lets take example of new order template:
you will find something like below in you email format/template files:
search for your handle name in sales.xml
/app/design/frontend/default/layout/sales.xml
You will get something like this in you sales.xml files:
Above xml makes it clear that content is being generated by email/order/items.phtml template file, open that files and add the content that you want to include it’s better to put this files in your current theme instead of chaning it in core.