How do I edit the "Grand Total" in the credit memo email to "Refund Amount". I don't see Grand Total in the transactional email template for credit memo.

  • did you manage to find a solution to your question? Nov 10, 2015 at 14:20
  • No, I actually gave up and forgot about it. Too busy. I have to try again.
    – yldziner
    Nov 10, 2015 at 18:27

1 Answer 1


Certain blocks are included via a reference in the email. To find out where the HTML actually comes from check the layout XMLs, in case of the credit memo email that would be the app/design/frontend/base/default/layout/sales.xml

Among others you'll find the handle sales_email_order_creditmemo_items which is the one you're looking for. You'll see that it has a block called creditmemo_totals that uses a template sales/order/totals.phtml

Now the issue is that the template is used in a bunch of places so editing it directly will result in those changes showing up basically everywhere in the store and emails.

You can set another template for this block by adding it in either a custom modules layout XML or in your active templates local.xml or other layout XML. That would look something like this

<?xml version="1.0"?>
<layout version="0.1.0">
      <reference name="creditmemo_totals">
         <action method="setTemplate"><file>your/custom/sales/order/totals.phtml</file></action>

Now copy the totals.phtml template file to your custom version and you're done

  • I do not see "Grand Total" in the totals.phtml
    – yldziner
    Apr 25, 2016 at 22:05
  • @Sander Mangel: Your answer doesn't helps to solve this comlpetely! Oct 28, 2016 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.