Support » Plugin: WooCommerce PayPal Checkout Payment Gateway » Paypal Button customization

  • Resolved starworld

    (@starworld)


    Greetings,

    I would like to change the look and feel of the PayPal button appearing on the single product page.
    1. I want to remove the PayPal logo.
    2.change button bg and style.
    3.change the “buy now text to something else. (http://prntscr.com/owh4lx)

    Can you please tell me how can I achieve this.
    It seems that plugin styles are not getting override.
    Is there a way to achieve this through the functionality.

    Please reply as soon as possible.
    Thanks in advance

    • This topic was modified 6 months ago by starworld.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Melinda

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there!

    The buttons come directly from PayPal. You can make some slight modifications to them as seen at https://docs.woocommerce.com/document/paypal-express-checkout/#section-7

    It will not be possible to remove the PayPal logo. Customers need to know they are using PayPal to checkout on your site.

    If you do not want the PayPal icon showing, you may want to consider using a different payment gateway.

    Norman

    (@normaldude)

    Hello,

    same problem here. I need the button translated in german. But inside your language-file isn’t a “Buy Now” phrase to find. It’s only this small detail. My website is ready. Only the right localization of your express checkout button is missing. What did I do wrong? Can you help? That would be great.

    Thank you

    • This reply was modified 5 months ago by Norman.

    Update: I did could find problems source. In my case its about the language files. In german are two forms of speech and language possible. One more friendly and confidential and the other more distanced and formally. WordPress is prepared for this case which causes errors sometimes. Anywhere there lays my problem.
    I use this more distanced and formally kind of speech inside my webshop. When I switch to the more friendly (default) one, the button is translated. So I guess I need to create new more formally language versions of all woocommerce integrated plugins. So far I just only transelated woocommerce. That is obviously not enough.

    Hmm … that didn’t solve the problem. I created missing locale po-files. But with de_DE_formal the button text is still “Buy now” (english instead german).
    With de_DE the button text will translated well in “Jetzt kaufen”.

    The folder /wp-content/languages/ contains following files:
    de_DE.po
    de_DE_formal.po
    admin-de_DE.po
    admin-de_DE_formal.po
    admin-network-de_DE.po
    admin-network-de_DE_formal.po
    continents-cities-de_DE.po
    continents-cities-de_DE_formal.po

    /wp-content/languages/plugins/
    woocommerce-de_DE.po
    woocommerce-de_DE_formal.po
    woocommerce-admin-de_DE.po
    woocommerce-admin-de_DE_formal.po
    woocommerce-gateway-paypal-express-checkout-de_DE.po
    woocommerce-gateway-paypal-express-checkout-de_DE_formal.po
    woocommerce-germanized-de_DE.po
    woocommerce-germanized-de_DE_formal.po

    Everything except “woocommerce-gateway-paypal-express-checkout-de_DE_formal.po” works perfect with german de_DE_formal. WordPress and WooCommerce speak formally german. Great! Only WGPEC switches buttons woocommerce text (from here comes the “buy now” text) back to english when I choose de_DE_formal.
    With normal de_DE it works and the button will be translated. But this variant of speech isn’t reasonable inside my website.

    Is it possible, that WGPEC isn’t prepared for this case? WP and Woo can handle it.

    Thank you!

    Maybe I should open a new thread for my “problem” because it’s now more about translating and get it locale than button customization.

    Plugin Support Mike W

    (@nixiack8)

    Hi @normaldude,

    For this in the future, it would be best to open a new thread. For this since you have so much information here, we will go ahead and troubleshoot 🙂

    Since you need the button translated to German, you can *try* to use Loco Translate. The button should be generated from Paypal, however with Paypal Checkout and the like there are some buttons which reside in the plugin on the site and can be searched via Loco Translate.

    To do so, once installing you can go to Loco Translate > Plugins and do a search for the button text. If it shows, you can change it there. If it does not, it might be best to reach out to Paypal to see if they can assist in the location of the button to translate.

    Plugin Support Elvira K

    (@treibalen)

    Hi @normaldude,

    I see that you opened another thread – https://wordpress.org/support/topic/translate-to-german-de_de_formal-doesnt-work/ – so I’ll close this one as a duplicate.

    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.