I want to modify html for credit card payment method. This is what i found in shipment.php file:

$paymentBlock = Mage::helper('payment')->getInfoBlock($order->getPayment())
$paymentBlockHtml = $paymentBlock->toHtml();

This is the source for payment block in the email i received:

            <th>Credit Card Type:</th>
            <th>Credit Card Number:</th>
            <th>Processed Amount:</th>

I want to update html for this block. Can you please advise on the file which i need to check?

  1. Go to payment module's config.xml inside etc/
  2. Check which email template is defined under node
  3. You can find and edit the file found inside app\locale\en_US\template\email
  4. Enjoy
  • Not much to enjoy, the email templates contain a placeholder {{var payment_html}} and thus one can't edit the source there which in turn was probably the reason for the questrion above…
    – feeela
    Jun 19 '19 at 11:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.