3

I have changed my invoice template to add some footer text, this works fine. However recently I have been asked to change this text to correct a typo. This I have done but the change is not showing on the invoice, it still shows the old text with the typo.

I have cleared and disabled my caches but to no avail.

The file I am changing is located at \app\code\local\Mage\Sales\Model\Order\Pdf\Invoice.php

Does anyone know as to why the changes are not showing?

Many thanks in advance.

  • Have you cleared your cache? Always worth checking after any magento changes. – Daniel West Jun 24 '15 at 19:30
  • Maybe the typo is made in locale translation files and not in modified core .php file placed in local? – versedi Jun 24 '15 at 21:33
  • Hi, I have cleared all caches both through admin and manually. – Garry Jun 26 '15 at 15:50
  • Arent template files phtml? Not php? – snh_nl Jun 26 '15 at 15:55
  • Invoice.php is the correct file as the original text shows. – Garry Jun 26 '15 at 15:59

Your Answer

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

Browse other questions tagged or ask your own question.