Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Add customer name to transaction result for Thank You page

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Add customer name to transaction result for Thank You page

Tagged: customize, order summary, Thank you page, Tweaks

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 7 months ago by Robert.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 2, 2016 at 7:49 pm #13741
    Robert
    Participant

    I’m using the [wp_eStore_transaction_result] shortcode on my thank you page (which is great).

    It would be really nice to thank the customer by name. Is it possible to add the customer name to the data that is available with this shortcode?

    October 2, 2016 at 11:33 pm #74292
    admin
    Keymaster

    There is a filter hook there so if you are a developer, you can customize the output using the filter.

    If you need us to code the customization for you then use the following option:

    https://support.tipsandtricks-hq.com/need-custom-work-done

    October 2, 2016 at 11:34 pm #74293
    Robert
    Participant

    I can code it, what is the filter hook name?

    October 3, 2016 at 11:15 pm #74294
    admin
    Keymaster

    The name of the filter hook is eStore_tx_result_session_data

    Example Code:

    add_filter('eStore_tx_result_session_data', 'custom_thank_you_msg', 10, 3);

    function custom_thank_you_msg($output, $payment_data, $cart_items){
    //TODO
    //Modify the value of the $output variable to what you like to show on the thank you page.
    //The $payment_data and $cart_items arrays contain transaction data.

    return $output;
    }

    October 4, 2016 at 1:29 am #74295
    Robert
    Participant

    Fantastic, thanks.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ