Change PayPal Image/Text (at checkout) in Prestashop 1.5


PayPal is a worldwide online payments system provided by an American company. Online money transfers serve as electronic alternatives to traditional paper methods like checks and money orders. Prestashop is already armed with paypal module as its payment option.
Change PayPal Image/Text (at checkout) in Prestashop 1.5

If you are trying to change the image of PayPal at your prestashop checkout page. You could obviously simply change the image, and leave the path to the image, but if you want to change the image from .gif format to others format, you need to looking for the location of the image inside your prestashop paypal module files. Same things happend, if you trying to change the text next to the paypal image on the prestashop checkout page. You can't translate it on your prestashop back ofiice because, it appears to be a text linked to an image.


The solution to overcome Change PayPal Image/Text (at checkout) in Prestashop 1.5 is below:
  1. Backup your original files. (DWYOR)
  2. Open /modules/paypal/translations.xml with your favourite text editor. Search for "<payment_choice>Here</payment_choice>" for changing the text
  3. To change the images, open /modules/paypal/views/templates/hook/express_checkout_payment.tpl on line 32
    <img src="your url here" alt="{l s='This is alt text' mod='paypal'}" height=31px" />
  4.  To edit the text next to the image, change line 36 to:
    {l s='Place your own text here' mod='paypal'}