• Resolved dragonzhang

    (@dragonzhang)


    Hello,
    I used this plug-in. The position of the PayPal button on the Cart and Checkout pages is correct, but it is incorrect on the product page. It appears in the line of the price. I want the PayPal button to appear below the “ADD Cart” button. Please tell me how to adjust it. Which website source file is it in? I can’t find this file.

    One more thing, I want to change the text of the PayPal button to “Buy Now”. How do I do this.

    Looking forward to your reply, thank you very much!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @dragonzhang,

    There are currently some issues with the button placement with page builders like Elementor.
    But you can use a filter like this to mitigate and move the button on the single product page: https://gist.github.com/InpsydeNiklas/202837609318f9c0e827c382787147b0
    This filter can be added to you theme’s functions.php file for example.

    You can enable the “Buy now” label with the setting Button Label. This setting is available for every individual button.

    Kind regards,
    Niklas

    Thread Starter dragonzhang

    (@dragonzhang)

    Hi @niklasinpsyde

    “You can enable the “Buy now” label with the setting Button Label. This setting is available for every individual button.”
    Forgive me, I’m a novice, I don’t know where to operate this, in the Payments set in the background of the website? I didn’t find what you said, I only saw the Enable tagline.

    Please be clear, thank you!

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @dragonzhang,

    Yes exactly, you can find the setting for this in the plugin configuration:
    WooCommerce > Settings > Payments > PayPal
    You can also reach this site from Plugins > Installed plugins and then click “Settings” next to PayPal Payments.
    From there you can control the look of every individual button for the checkout, single product page, cart, or the mini cart.
    Here is an example for the checkout button with the “Buy now” label:
    https://drive.google.com/uc?export=view&id=139sihgrNzovJYq-o13NTrQayilEagwFW
    The label is automatically translated for the user depending on their location/language, so for me it’s automatically translated into German.

    If you would like to test how different styles affect the buttons, then I suggest taking a look at this site: https://www.paypal.com/buttons/smart

    I hope that helps!

    Kind regards,
    Niklas

    Thread Starter dragonzhang

    (@dragonzhang)

    Hi @niklasinpsyde

    Can I customize the icon or text of this button? For example, I only want to display “Buy Now” separately

    Thank you for your patient explanation!!!

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @dragonzhang,

    Beyond the settings provided within the plugin, there are no further customizations of the icons or text available for the buttons.
    From the plugin you can make the same adjustments as on the PayPal site I linked in my previous answer.
    It’s because the buttons are not created by the plugin but instead are loaded directly from PayPal with the parameters configured in the plugin settings.
    So you can adjust the color, shape, label, or tagline but there is no way to add any custom text or icon to the smart buttons.
    We could only provide a filter that allows you to display a gateway icon for the checkout next to the gateway name, but the buttons themselves can’t be customized any further.

    Kind regards,
    Niklas

    Thread Starter dragonzhang

    (@dragonzhang)

    Ok i got it, thank you for your answer

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The position of PayPal button on the product page is incorrect’ is closed to new replies.