in my transactional email page i've used this
{{block type='sales/dispatch' area='frontend' template='email/order/dispatch.phtml' order=$order shipment=$shipment}}
my block is under sales module which is like this
class Mypackage_Sales_Block_Dispatch extends Mage_Core_Block_Template {
public function checkinout(){
return 'testingg......';
}
}
and my dispatch.phtml file looks like this
echo $this->checkinout();
but in the email i'm not getting this block printed, what am i doing wrong? thanks for the help
1 Answer 1
You can't use <sales> as a node in config.xml, this name is already used by Mage_Sales.
Rename your node and you are one step further.
answered Oct 1, 2014 at 7:37
default