Magento – Méthode de paiement / 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 * à 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
* à 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 $
*/

?>

mais

<!–
/**
* 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
* à 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 $
*/

–>

écrit. 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. Vider le cache. 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.

Utilisé dans la version Magento 1.8.1.0 Remarques? Ajouts? Remarques? Volontiers!

Publié par Covos

Depuis 2009 Je travaille intensément avec Magento. J'ai commencé avec la création et l'exploitation des magasins B2C. Cela a été prolongé par mon travail dans le secteur de la logistique. Il en est résulté premiers systèmes de B2E spécialisés. Aujourd'hui, je travaille jour par jour avec B2C passionnant, B2B- et les projets B2E et rapports dans ce blog sur les défis et donner des conseils d'initiés.

Laisser un commentaire

Votre adresse email ne sera pas publié. les champs requis sont indiqués *