I have created a custom variable in magento. But I want to call a template file for this variable value.
For this I am using
{{block type="core/template" template="custom/my.phtml"}}
in Variable HTML Value field.
But when adding this variable in any email template like {{customVar code=my_var}}
then print
{{block type="core/template" template="custom/my.phtml"}}
as it is.
How to add a template file in custom variable HTML value?
Best Answer
you can add your
phtml
file inemail template
simple add the like this and add your coding intemplate.phtml
.