|
Hello everyone, I have a question regarding email templates how can I load a collection from my custom controller within the email template.
How can I call this function for example:
print Mage::getModel('superproduct/superproduct')->superProductsList()
Magento has a lot of their own functions like
{{var order.getShippingAddress().format('html')}}
this is what I need to acomplish too. I have a function that returns a collection in html format. But how do I call that function within my new order template?
Thanks for any kind of help in advanced.
|