{"id":2180,"date":"2014-06-03T13:40:10","date_gmt":"2014-06-03T11:40:10","guid":{"rendered":"http:\/\/www.commercers.com\/blog\/?p=2180"},"modified":"2014-07-24T11:22:57","modified_gmt":"2014-07-24T09:22:57","slug":"magento-zahlungsmethode-zahlart-sofortueberweisung-mit-sinnlosem-text-this-source-file-is-subject-to-the-open","status":"publish","type":"post","link":"https:\/\/www.commercers.com\/blog\/magento-zahlungsmethode-zahlart-sofortueberweisung-mit-sinnlosem-text-this-source-file-is-subject-to-the-open\/","title":{"rendered":"Magento &#8211; Zahlungsmethode \/ Zahlart Sofort\u00fcberweisung mit sinnlosem Text This source file is subject to the Open"},"content":{"rendered":"<p>Wer feststellen musste, dass in Rechnungen, die mit Sofort\u00fcberweisung bezahlt wurden ziemlich viel sinnloser Text angezeigt wird, kann dies durch eine kleine \u00c4nderung \u00e4ndern. Der Text, der angezeigt wird lautet:<\/p>\n<p><strong>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: *<\/strong> <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\"><strong>http:\/\/opensource.org\/licenses\/osl-3.0.php<\/strong><\/a> <strong>* 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<\/strong> <a href=\"mailto:license@magentocommerce.com\"><strong>license@magentocommerce.com<\/strong><\/a> <strong>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<\/strong> <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\"><strong>http:\/\/opensource.org\/licenses\/osl-3.0.php<\/strong><\/a><strong> Open Software License (OSL 3.0) * @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $ *\/ &#8211;&gt; Paymentinformations: SOFORT \u00dcberweisung Interne Transaktions-ID von SOFORT AG: XYZZZ-XYZZZZ-XYZZZZD1E-DFE1 (bitte angeben bei Support-Anfragen).<\/strong><\/p>\n<p>Ein Spa\u00dfvogel hat sich \u00fcber die Magento Logik hinweggesetzt und entgegen des Magento Standards nicht<\/p>\n<p>&lt;?php<br \/>\n\/**<br \/>\n* Magento<br \/>\n*<br \/>\n* NOTICE OF LICENSE<br \/>\n*<br \/>\n* This source file is subject to the Open Software License (OSL 3.0)<br \/>\n* that is bundled with this package in the file LICENSE.txt.<br \/>\n* It is also available through the world-wide-web at this URL:<br \/>\n* <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\">http:\/\/opensource.org\/licenses\/osl-3.0.php<\/a><br \/>\n* If you did not receive a copy of the license and are unable to<br \/>\n* obtain it through the world-wide-web, please send an email<br \/>\n* to <a href=\"mailto:license@magentocommerce.com\">license@magentocommerce.com<\/a> so we can send you a copy immediately.<br \/>\n*<br \/>\n* @category Paymentnetwork<br \/>\n* @package Paymentnetwork_Sofortueberweisung<br \/>\n* @copyright Copyright (c) 2008 [m]zentrale GbR, 2010 Payment Network AG<br \/>\n* @license <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\">http:\/\/opensource.org\/licenses\/osl-3.0.php<\/a> Open Software License (OSL 3.0)<br \/>\n* @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $<br \/>\n*\/<\/p>\n<p>?&gt;<\/p>\n<p>sondern<\/p>\n<p>&lt;!&#8211;<br \/>\n\/**<br \/>\n* Magento<br \/>\n*<br \/>\n* NOTICE OF LICENSE<br \/>\n*<br \/>\n* This source file is subject to the Open Software License (OSL 3.0)<br \/>\n* that is bundled with this package in the file LICENSE.txt.<br \/>\n* It is also available through the world-wide-web at this URL:<br \/>\n* <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\">http:\/\/opensource.org\/licenses\/osl-3.0.php<\/a><br \/>\n* If you did not receive a copy of the license and are unable to<br \/>\n* obtain it through the world-wide-web, please send an email<br \/>\n* to <a href=\"mailto:license@magentocommerce.com\">license@magentocommerce.com<\/a> so we can send you a copy immediately.<br \/>\n*<br \/>\n* @category Paymentnetwork<br \/>\n* @package Paymentnetwork_Sofortueberweisung<br \/>\n* @copyright Copyright (c) 2008 [m]zentrale GbR, 2010 Payment Network AG<br \/>\n* @license <a href=\"http:\/\/opensource.org\/licenses\/osl-3.0.php\">http:\/\/opensource.org\/licenses\/osl-3.0.php<\/a> Open Software License (OSL 3.0)<br \/>\n* @version $Id: sofortueberweisung.phtml 3844 2012-04-18 07:37:02Z dehn $<br \/>\n*\/<\/p>\n<p>&#8211;&gt;<\/p>\n<p>geschrieben. Und so taucht der Absatz auf den Rechnungen auf. Um dies zu verhindern, m\u00fcssen wir also den Magento Standard herstellen. Hierzu \u00f6ffnen wir f\u00fcr Sofort\u00fcberweisung 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.<\/p>\n<p>Anschlie\u00dfend hochladen und evtl. Cache l\u00f6schen. Nun lassen sich alle Rechnungen wieder wie gewohnt drucken. Dieser Bug ist in der Sofort \u00dcberweisung Extension Version 2.4.0 enthalten.<\/p>\n<p>Witzigerweise teilte mir ein Mitarbeiter bei der Hotline mit, dass ihnen dieses Problem bekannt sei, man m\u00fcsse eben den o.g. Weg gehen&#8230;.was ein Unternehmen.<\/p>\n<p>Genutzt in Magento Version 1.8.1.0 Kommentare? Erg\u00e4nzungen? Hinweise? Gerne!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wer feststellen musste, dass in Rechnungen, die mit Sofort\u00fcberweisung bezahlt wurden ziemlich viel sinnloser Text angezeigt wird, kann dies durch eine kleine \u00c4nderung \u00e4ndern. 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&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-2180","post","type-post","status-publish","format-standard","hentry","category-magento_extensions"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/posts\/2180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/comments?post=2180"}],"version-history":[{"count":0,"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/posts\/2180\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/media?parent=2180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/categories?post=2180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.commercers.com\/blog\/wp-json\/wp\/v2\/tags?post=2180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}