cancel
Showing results for 
Search instead for 
Did you mean: 

Modify <tfoot> containing totals in email template

SOLVED

Modify <tfoot> containing totals in email template

Hi, I've been trying to locate the code used for displaying the total in transactional emails but haven't found it despite searching all directories in my installation...

What I'd like to do is to simply change the following

 

<tfoot>
<tr>
<td>...

to this

<tfoot>
<tr>
<td colspan="100%">...

 

Sorry if it might be an easy fix, I'm a total newbie with Magento
Thanks in advance!
Ben

2 REPLIES

Re: Modify <tfoot> containing totals in email template

@benpt

Please check the file app/design/frontend/base/default/template/sales/order/totals.phtml (or any other analogue file in your theme)

This file is used to display the Totals, including the ones in the standard Magento emails.


Also, I recommend you to study some info about the colspan attribute.  From what we have learned from this documentation:   http://www.w3schools.com/tags/att_td_colspan.asp it is used to display only the numbers (not per cent).

Additionally, you can view this block right in the app/design/frontend/base/default/layout/sales.xml layout (lines: 272-285:
https://www.gyazo.com/c82835e44198573a8220299b8effd081). From here, you can also set up the value for some attributes.

 

 

______________________________________________________________
Innovative, top-performing Magento Extensions (with an array of FREE tools).

Re: Modify <tfoot> containing totals in email template

Thank you