1

How can I hide the text "invoice #........" in the invoice PDF document? enter image description here

2

You can customize the invoice layout by modifying this file : Mage_Sales_Model_Order_Pdf_Invoice (app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php)

Copy it over on this location to override it.

app/code/local/Mage/Sales/Model/Order/Pdf/Invoice.php

and try to comment this line

$page->drawText(Mage::helper('sales')->__('Invoice # ') . $invoice->getIncrementId(), 35, 780, 'UTF-8');

Some more information

1
  • 1
    Your method works, thank you! And if I also want to translate the invoice, which file have I to modify? @St0iK
    – stsnow
    Mar 11 '16 at 13:40

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.