Credit Memo # {{var creditmemo.increment_id}} for Order # {{var order.increment_id}}

Does someone know what file do these variables come from?

I need to add functions and variables but I don't know where they are located.


  • do you want to add custom variable to email template ? – Pawan May 31 '19 at 16:41
  • Exactly. A variable and a function. – dragon25 May 31 '19 at 16:42

Have you taken a look at this?

Custom variable in email

Makes sense with what you are trying to do.

The $mailer->setTemplateParams part is the part you need to look at.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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