I am stuck in my custom code.

I want to pass a custom variable from phtml file to template.

I have added my template in email template:

{{block type='core/template' area='frontend' template='order-approval/item.phml'}}

but how to pass variable of this page

closed as off-topic by Marius Dec 14 '16 at 8:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.