Hi,
I’m using Woocommerce for my online shop and for the payments, I’m using Woocommerce Paypal Checkout (I prefer it to the standard Paypal method).
I would like to change the Paypal logo that I see in my checkout page, since the logo is not teamed with the other credit card logos (Masterd card, Visa, etc).
Of course, there is a message telling the clients they can use their credit card without having a PayPal account, but I think the logos of the other credit cards is really reassuring for the customers.
I found this code :
add_filter ( ‘woocommerce_gateway_icon’, ‘htdat_change_gateway_icon’, 10, 2 );
function htdat_change_gateway_icon( $icon, $gateway_id ) {
if ( ‘ppec_paypal’ == $gateway_id ) {
//Change the URL of your own icon here
$icon = ‘my-own-icon.png’;
}
return $icon;
}
Among all the codes in web for the same purpose, this one seems to work, because it replaces the logo with : ‘my-own-icon.png’.
But because I am not familiar with it, I’m not sure how to put the url of the new logo I would like to show instead.
Any suggestions into how to modify this code above that seems to work.
Thank you.
My url is : http://mazonegourmet.com/