If you want to render a specific text/html for a particular payment method in shipment email template only then you have to override sendEmail function of Mage_Sales_Model_Order_Shipment class and play with $paymentBlockHtml variable.
In that function, you can add a condition like
if($order->getPayment()->getMethod()=='cashondelivery'){
$paymentBlockHtml = Mage::helper('sales')->__('Payment after delivery');
}
2
Answers
I have found found solution for payment block.
For change payment block need following below steps:
Step 1. Copy appdesignfrontendbasedefaulttemplatepaygateinfocc.phtml to appdesignfrontend[Your Package][Your Theme]templatepaygateinfocc.phtml
Step 2. Change here that you want to change
Step 3- Save
If you want to render a specific text/html for a particular payment method in shipment email template only then you have to override
sendEmail
function ofMage_Sales_Model_Order_Shipment
class and play with$paymentBlockHtml
variable.In that function, you can add a condition like
Hope it helps!