- includes/modules/payment/paypal.php
around line 119 you see:```php
function selection() {
return array('id' => $this->code,
'module' => $this->title);
}
change to:
```php
function selection() {
return array('id' => $this->code,
'module' => '<img src="images/paypal.gif" alt="' . $this->title . '" />');
}
-
Now put a "paypal.gif" in your /images folder
-
Now you'll have an IE bug to work around, so do this:
includes/templates/YOURTEMPLATE/templates/tpl_checkout_payment_default.php
line 136 has:
<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>
change to:
<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"<?php if (strstr(strtolower($selection[$i]['module']), '<img')) echo ' onclick="document.getElementById(\'pmt-'.$selection[$i]['id'].\').click();"'; ?>><?php echo $selection[$i]['module']; ?></label>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.