Support » Plugin: PayPal for WooCommerce » Adding additional text to PayPal checkout page

  • Resolved dalea

    (@dalea)


    How can additional text be added to the woocommerce checkout page that PayPal users are redirected to after entering their PayPal details?

    It is unclear to the user that after being redirected to the checkout page that they need to complete the transaction by clicking “Place Order” in bottom right corner. Therefore the ability to add text would be useful, via functions.php is fine.

    This is resulting in potentially customers being lost.

    In addition to this can the cancel order and place order buttons be swapped around, please let me know?

    Theme is Shopkeeper, domain is juniorapparel.co.uk

    Thanks

    • This topic was modified 3 years, 8 months ago by dalea.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor angelleye

    (@angelleye)

    We do have some hooks in place for that, but we just haven’t gotten our documentation updated yet to show it. Sorry about that! The filter hook names are as follows:

    – angelleye_review_order_before_checkout_form
    – angelleye_review_order_before_cart_contents
    – angelleye_review_order_after_cart_contents
    – angelleye_review_order_before_customer_details
    – angelleye_review_order_after_customer_details
    – angelleye_review_order_before_create_account
    – angelleye_review_order_after_create_account
    – angelleye_review_order_before_login_create_account
    – angelleye_review_order_after_login_create_account
    – angelleye_review_order_before_place_order
    – angelleye_review_order_after_place_order
    – angelleye_review_order_after_checkout_form

    Please give that a shot and let me know if you have any issues. Thanks!

    Plugin Contributor angelleye

    (@angelleye)

    Ah, shoot! Nevermind. I just realized those hooks are old and were part of our original review page that was custom built into our plugin. Since then we replaced that with the Woo provided templates, so now you just need to use their hooks for that.

    Let me see if I can dig up the list of hooks that you could use here. Please disregard the above message.

    Plugin Contributor angelleye

    (@angelleye)

    I just re-read your initial post again, and I need to clarify something. Are you referring to the WooCommerce checkout page, or are you referring to our Express Checkout review page that users are sent to after logging in to PayPal (or entering guest checkout credit card info) and being returned back to your site?

    Thread Starter dalea

    (@dalea)

    @angelleye, thank you for getting back to me. I am looking to edit my website checkout page that the user is returned to after they input PayPal card details

    Customer steps: Checkout > PayPal > return to junior apparel to confirm transaction ( this is the page I am looking to edit )

    Thanks

    @dalea
    We have prepared few lines of code for you, it will display custom message on Express Checkout review page.

    Sample code: https://pastebin.com/HJzTuhrf

    Please Note: used above sample code in your current active theme’s functions.php

    Thread Starter dalea

    (@dalea)

    @kcppdevelopers, thanks for looking into this issue, I will give it ago.

    Also how easy would it be to swap over the cancel order and place order buttons. To have cancel order above place order does not seem a good sale tactic.

    Thanks

    @dalea, Could you provide website URL or screenshot for understand your issue?

    Thread Starter dalea

    (@dalea)

    @kcppdevelopers, Unfortunately no message is being displayed. The desired page url is /checkout and title is “review order”.

    The domain url is juniorapparel.co.uk

    Plugin Contributor angelleye

    (@angelleye)

    @dalea, I’m sorry for the delay. I’ve asked @kcppdevelopers to jump back on this. We’ll get you some more info soon.

    @dalea I have review your website review page and it seem message is being displayed

    https://i.imgur.com/ARaMAWj.png

    Please review above image and let me know.

    Thread Starter dalea

    (@dalea)

    @kcppdevelopers, I have made some changes to the original code you provided above, so that the text display on the review page.

    I think this issue is resolved now, thank you for your help.

    Plugin Contributor angelleye

    (@angelleye)

    Glad to hear it! If you have a moment to leave a review for the plugin that would be greatly appreciated. Thanks!

    Thread Starter dalea

    (@dalea)

    Of course, review added

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Adding additional text to PayPal checkout page’ is closed to new replies.