Extra code on the screen

Does anybody know how to remove the unnecessary code on the checkout screen?(marked in yellow on the picture).

The code for this block is:

enter image description here

Hope somebody could help me, thanks!

  • Please provide specifics. Even if we can infer, note what step of the checkout this is (payment method I presume), what version of Magento you're using, and if you're using a custom checkout extension. Nov 25, 2014 at 21:48
  • Also, this looks like a custom payment method, perhaps added by some extension -- that would be useful to note, but beware that support for specific extensions around here does not churn out positive feedback. Nov 25, 2014 at 21:49
  • Thanks, It is a exstension for part payment invoice. Also its running on magento vs .
    – Charly
    Nov 25, 2014 at 21:57

1 Answer 1


It looks like the payment form block is calling $this->htmlEscape() on something that it shouldn't.

Assuming this is a payment method from an extension, and assuming it was written to properly extend from Mage_Payment_Model_Method_Abstract, then you can find its block (and possibly template) by finding its model.

Example: app/code/community/Klarna/Modulename/Model/Method/Paymentmethodname.php

You would hopefully see some protected properties at the top, eg:

protected $_formBlockType = 'payment/form_paymentmethodname';
protected $_infoBlockType = 'payment/info_paymentmethodname';

The form block is an alias for:


Open that up to hopefully see something this:

protected function _construct()

And there's your template. Open that template up and look for calls to $this->htmlEscape() on some price markup or block.

That's as close as I can get to helping you. Your question is unfortunately a bit too broad.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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