skip to Main Content

I am using magneto 1.9. How to i have change magento shipment email template payment Method block?

2

Answers


  1. Chosen as BEST ANSWER

    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


  2. 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');
    }
    

    enter image description here

    Hope it helps!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search