Magento – Zahlungsmethode / Zahlart Sofortüberweisung mit sinnlosem Text This source file is subject to the Open

Wer feststellen musste, dass in Rechnungen, die mit Sofortüberweisung bezahlt wurden ziemlich viel sinnloser Text angezeigt wird, kann dies durch eine kleine Änderung ändern. Der Text, der angezeigt wird lautet:

This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * @category Paymentnetwork * @package Paymentnetwork_Sofortueberweisung * @copyright Copyright (c) 2008 [m]zentrale GbR, 2010 Payment Network AG * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $ */ –> Paymentinformations: SOFORT Überweisung Interne Transaktions-ID von SOFORT AG: XYZZZ-XYZZZZ-XYZZZZD1E-DFE1 (bitte angeben bei Support-Anfragen).

Ein Spaßvogel hat sich über die Magento Logik hinweggesetzt und entgegen des Magento Standards nicht

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* @category Paymentnetwork
* @package Paymentnetwork_Sofortueberweisung
* @copyright Copyright (c) 2008 [m]zentrale GbR, 2010 Payment Network AG
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $
*/

?>

sondern

<!–
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* @category Paymentnetwork
* @package Paymentnetwork_Sofortueberweisung
* @copyright Copyright (c) 2008 [m]zentrale GbR, 2010 Payment Network AG
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $
*/

–>

geschrieben. Und so taucht der Absatz auf den Rechnungen auf. Um dies zu verhindern, müssen wir also den Magento Standard herstellen. Hierzu öffnen wir für Sofortüberweisung die Datei sofortueberweisung.phtml im Ordner app/design/adminhtml/default/default/template/pnsofortueberweisung/info/pdf (es gibt sie auch nochmal im base Order sollte es nicht klappen) und ersetzen wie oben beschrieben.

Anschließend hochladen und evtl. Cache löschen. Nun lassen sich alle Rechnungen wieder wie gewohnt drucken. Dieser Bug ist in der Sofort Überweisung Extension Version 2.4.0 enthalten.

Witzigerweise teilte mir ein Mitarbeiter bei der Hotline mit, dass ihnen dieses Problem bekannt sei, man müsse eben den o.g. Weg gehen….was ein Unternehmen.

Genutzt in Magento Version 1.8.1.0 Kommentare? Ergänzungen? Hinweise? Gerne!

Published by Covos

Seit 2009 arbeite ich nun intensiv mit Magento. Begonnen habe ich mit der Erstellung und dem Betrieb von B2C-Shops. Ausgeweitet wurde dies durch meine Tätigkeit im Logistik-Sektor. Hieraus entstanden erste spezialisierte B2E-Systeme. Heute arbeite ich tag-täglich mit spannenden B2C-, B2B- und B2E-Projekten und berichte in diesem Blog über Herausforderungen und gebe Insider-Tipps.

Leave a Reply

Your email address will not be published. Required fields are marked *