News:

Looking for documentation? Take a look on our wiki

Main Menu

Remove paypal image

Started by TiagoCorreia, April 23, 2014, 13:00:28 PM

Previous topic - Next topic

TiagoCorreia

Joomla! 2.5.19
VM 2.5.0

Hi
Can someone tell me where is the file (and name) which have the paypal image? (image attached)
I want to remove it.

thanks

[attachment cleanup by admin]

jenkinhill

VM2.5.0 was just a test version. You should use VM2.6

That image is not within VM - suggest you use Firebug to identify what it is & where from. http://forum.virtuemart.net/index.php?topic=116620.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Armanshah

The same problem -

Joomla 2.5.20

Virtuemart 2.0.26d

Firebug shows this result -
<a href="#">
<img id="paypalLogo" border="0" style="cursor:pointer;" alt="PayPal Checkout Available" src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif">
</a>

Don't know what to do.


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

new to me but if you enable payapl express this shows up in the product details template by  this code block

if (is_array($this->productDisplayPayments)) {
    foreach ($this->productDisplayPayments as $productDisplayPayment) {
echo $productDisplayPayment . '<br />';
    }
}


the actual img link is in   plugins/vmpayment/paypal/paypal/helpers/paypalexp.php  ~ line 905

$paypal_buttonurls = array('en_US' => 'https://www.paypal.com/en_US/i/logo/PayPal_mark_60x38.gif',
         'en_GB' => 'https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif',

etc

as this just seems to provide an info link guess you can dump it

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Armanshah

#6
Thanks a lot!
Problem solved!!!

Though didn't know how to dump it without getting errors (will appreciate a hint), changed that image with another one.

GJC Web Design

just comment out that whole section

/*if (is_array($this->productDisplayPayments)) {
    foreach ($this->productDisplayPayments as $productDisplayPayment) {
echo $productDisplayPayment . '<br />';
    }*/
}


but have no idea if this is needed for functionality? (think not) Have never used Paypal Express - seems twice as complicated as normal PP for no gain
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation