Pages

Thursday, July 3, 2014

How to disable Paypal logo in Magento 1.9.x

had some difficulty to find valid information on how to disable Paypal logo in Magento 1.9.x.
For older versions, there was a setting in Configuration/Payment method/paypal something and enable/disable logo in frontend.

The proper way is to disable it in your local.xml file located
[your_magento_installation]app/design/frontend/[your_template]/[your_package]/local.xml

add the remove tag within
<layout>
             <default>
                  [...]
                  <remove name="paypal.partner.right.logo"/>
                  [...]
             </default>
</layout>

if it doesn't work, there is always a lumberjack method... overwrite the default behaviour from the default template.

So copy from [your_magento_installation]app/design/frontend/base/default/template/paypal/partner/logo.phtml
to  [your_magento_installation]app/design/frontend/[your_template]/default/template/paypal/partner/logo.phtml

and remove the php code.



Dummy style but effective...

if you know the right way to do it over the admin panel, please let me know!
thx

1 comment:

  1. Yes there is a way.. :)
    System > Configuration > Advanced > Advanced:
    then from the list of modules disable both 'paypal' and 'paypaluk', and Refresh your cache...

    ReplyDelete