Viewing 6 posts - 1 through 6 (of 6 total)
  • #173876
    [email protected]
    Member
    Post count: 76

    Hello,

    Could you help me to introduce this image of credit cards instead of Paypal image, in the Checkout page??

    <!– PayPal Logo –><table border=”0″ cellpadding=”10″ cellspacing=”0″ align=”center”><tbody><tr><td align=”center”></td></tr><tr><td align=”center”>Marcas de aceptación</td></tr></tbody></table><!– PayPal Logo –>

    Thank you very much

    Attachments:
    You must be logged in to view attached files.
    #173984
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php file of child theme.

    function replacePayPalIcon($iconUrl) {
    	return 'https://www.paypalobjects.com/webstatic/mktg/logo-center/logotipo_paypal_pagos_tarjetas.jpg';
    }
     
    add_filter('woocommerce_paypal_icon', 'replacePayPalIcon');

    Thanks
    Mohammad

    #174644
    [email protected]
    Member
    Post count: 76

    Thank you Mohammad,

    I din´t have child theme. IS there any problem to include in the main theme?

    Thanks

    #174647
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You could include it in your functions.php of the main theme, but you will have
    problems to update when new versions of the theme are launched.

    You can start now to have a child theme, it’s included in the files you download from Themeforest. You will have less problems in a future update this way.

    -Rui

    #179858
    [email protected]
    Member
    Post count: 76

    Thank you very much

    #179920
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register