Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
Documentation for transactional email templates? 
 
bcelenza
Member
 
Avatar
Total Posts:  44
Joined:  2008-08-27
 

Is there any documentation that gives a quick run-down of what you can do in the transactional email templates? I know I can show dynamic data based on the {{ }} variables, but where is this sort of thing documented? For instance, the order success email passes:

array(
                        
'order'         => $this,
                        
'billing'       => $this->getBillingAddress(),
                        
'payment_html'  => $paymentBlock->toHtml(),
                    )

How can I read/traverse this within the email template? What are my limitations? Any help is greatly appreciated.

 Signature 

Brian J. Celenza
http://www.wearport.com - Design T-Shirts, Custom Apparel, Logoed Sweats & More

Me @ Twitter | Wearport @ Twitter

 
Magento Community Magento Community
Magento Community
Magento Community
 
cooldar
Member
 
Total Posts:  69
Joined:  2008-05-14
 

i need more information as well…
can anyone please help!!!!

 Signature 

Jewelry
Jewelry Blog

 
Magento Community Magento Community
Magento Community
Magento Community
 
NJ
Jr. Member
 
Total Posts:  10
Joined:  2008-07-17
 

Need the same info as I would like to display an order list in the sales email and not just name, address, shipping etc., but a list of items ordered and a price - like an invoice.

 
Magento Community Magento Community
Magento Community
Magento Community
 
njwood60
Jr. Member
 
Total Posts:  22
Joined:  2008-09-16
 

I would very much like this info as well

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Matt Dean
Sr. Member
 
Avatar
Total Posts:  261
Joined:  2008-05-27
 
njwood60 - 11 December 2008 04:42 PM

I would very much like this info as well

Thanks

I’ve been after basic docs for this sort of thing for a while too. No luck so far.
See: http://www.magentocommerce.com/boards/viewthread/21534/

And not really in answer to the original question, but I think pretty much as soon as you want to do anything slightly clever with the email templates the best approach is to make a custom block (as you would if you were extending the web-frontend of Magento) and reference that from your email.

Creating a custom block is definitely a job for a coder though.

The fact that Varien have decided to use the nice {{ }} syntax to (presumably) let non-coders add dynamic content to emails and static blocks but then have failed to document it is a very odd thing indeed.

One day if I’m really bored I’ll spend the time to reverse engineer how it works and document it, but it’d be vastly more efficient for the folks that actually implemented it to produce some basic docs for their users.

Ho hum smile
Matt

 Signature 

Organic Internet & Mobile
Mobile & Web Application Design & Development
Yorkshire, UK

 
Magento Community Magento Community
Magento Community
Magento Community
 
NJ
Jr. Member
 
Total Posts:  10
Joined:  2008-07-17
 

Anyone who can post the tag for displaying a list of products purchased and a total amount - think those should be in the sales email but I can’t seem to figure out how to do it.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2010 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
177719 users|1148 users currently online|277216 forum posts