News:

Looking for documentation? Take a look on our wiki

Main Menu

How to remove PayPal logo from product page?

Started by Armanshah, May 27, 2014, 12:11:09 PM

Previous topic - Next topic

Armanshah

Please help to remove this image from product pages.



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 where to edit.

Thanks in advance!

jenkinhill

#1
That is being added by your PayPal payment plugin or inserted by a commercial template. http://forum.virtuemart.net/index.php?topic=108212.0

I would hide it using css,  #paypalLogo {display:none;}
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

Off course.
But the problem is that I can't find that "paypalLogo"
Total Commander didn't help.
If you tell me the file and line to edit I will be very grateful!

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

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.