Version Notes
Stable for Magento Vesrion 1.7, 1.8 ,1.8.1 and 1.9
Download this release
Release Info
| Developer | Niko K |
| Extension | Nikolakisae_PaymentLogo |
| Version | 0.1.7 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1.6 to 0.1.7
app/code/community/Nikolakisae/PaymentLogo/Block/Checkout/Onepage/Payment/Methods.php
CHANGED
|
@@ -22,12 +22,12 @@ class Nikolakisae_PaymentLogo_Block_Checkout_Onepage_Payment_Methods extends Mag
|
|
| 22 |
|
| 23 |
public function getMethodTitle(Mage_Payment_Model_Method_Abstract $method) {
|
| 24 |
|
| 25 |
-
|
| 26 |
$imageLogo = '';
|
| 27 |
$form = $this->getChild('payment.method.' . $method->getCode());
|
| 28 |
|
| 29 |
if (file_exists(Mage::getBaseDir('media') . DS . 'payment' . DS . $method->getCode() . DS . Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) && Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) {
|
| 30 |
-
$imageLogo = '<img src="' . Mage::getBaseUrl('media') . 'payment/' . $method->getCode() . '/' . Mage::getStoreConfig('payment/' . $method->getCode() . '/image') . '"
|
| 31 |
}
|
| 32 |
|
| 33 |
if ($imageLogo != '' && Mage::getStoreConfig('payment/' . $method->getCode() . '/display_options') == 2) {
|
| 22 |
|
| 23 |
public function getMethodTitle(Mage_Payment_Model_Method_Abstract $method) {
|
| 24 |
|
| 25 |
+
Mage::log($method->debug());
|
| 26 |
$imageLogo = '';
|
| 27 |
$form = $this->getChild('payment.method.' . $method->getCode());
|
| 28 |
|
| 29 |
if (file_exists(Mage::getBaseDir('media') . DS . 'payment' . DS . $method->getCode() . DS . Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) && Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) {
|
| 30 |
+
$imageLogo = '<img src="' . Mage::getBaseUrl('media') . 'payment/' . $method->getCode() . '/' . Mage::getStoreConfig('payment/' . $method->getCode() . '/image') . '">';
|
| 31 |
}
|
| 32 |
|
| 33 |
if ($imageLogo != '' && Mage::getStoreConfig('payment/' . $method->getCode() . '/display_options') == 2) {
|
app/code/community/Nikolakisae/PaymentLogo/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Nikolakisae_PaymentLogo>
|
| 5 |
-
<version>0.1.
|
| 6 |
</Nikolakisae_PaymentLogo>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Nikolakisae_PaymentLogo>
|
| 5 |
+
<version>0.1.7</version>
|
| 6 |
</Nikolakisae_PaymentLogo>
|
| 7 |
</modules>
|
| 8 |
<global>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Nikolakisae_PaymentLogo</name>
|
| 4 |
-
<version>0.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -11,9 +11,9 @@
|
|
| 11 |
Check / Money order, Purchase Order, Authorize.net, Authorize.net Direct Post</description>
|
| 12 |
<notes>Stable for Magento Vesrion 1.7, 1.8 ,1.8.1 and 1.9</notes>
|
| 13 |
<authors><author><name>Niko K</name><user>nikolakisae</user><email>info@nikolakisae.com</email></author></authors>
|
| 14 |
-
<date>
|
| 15 |
-
<time>
|
| 16 |
-
<contents><target name="magecommunity"><dir name="Nikolakisae"><dir name="PaymentLogo"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Nikolakisae_PaymentLogo</name>
|
| 4 |
+
<version>0.1.7</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 11 |
Check / Money order, Purchase Order, Authorize.net, Authorize.net Direct Post</description>
|
| 12 |
<notes>Stable for Magento Vesrion 1.7, 1.8 ,1.8.1 and 1.9</notes>
|
| 13 |
<authors><author><name>Niko K</name><user>nikolakisae</user><email>info@nikolakisae.com</email></author></authors>
|
| 14 |
+
<date>2015-03-28</date>
|
| 15 |
+
<time>17:16:26</time>
|
| 16 |
+
<contents><target name="magecommunity"><dir name="Nikolakisae"><dir name="PaymentLogo"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="3ac20aaa0a69101ef74bbfb25e60f0af"/></dir></dir></dir></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Options.php" hash="51f1a091f2e1f8eb39f917edef69378f"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="7d43a88de9553ca896aab2aa911c1deb"/><file name="system.xml" hash="942149b03373b57922c4be2fcbf76d56"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="paymentlogo.xml" hash="c5e70d08bc64c3949f250f2cbbd2b71b"/></dir><dir name="template"><dir name="paymentlogo"><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="1c34f86ea217f08f80135923ccc78ad5"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Nikolakisae_PaymentLogo.xml" hash="9cce35582dff8490521d6ccfbb6853ee"/></dir></target></contents>
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
