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
Solved! Go to Solution.
Thank you MageWorxTeam, will take a look in those files!
As for the colspan attribute, I'm aware it usually takes unit-less numbers, the 100% is a hack to fix a display bug in Gmail.
Thanks again!
@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.
Thank you MageWorxTeam, will take a look in those files!
As for the colspan attribute, I'm aware it usually takes unit-less numbers, the 100% is a hack to fix a display bug in Gmail.
Thanks again!