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

Customize label for serial key code

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Customize label for serial key code

Tagged: license key, serial key

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by martyknapp.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 15, 2013 at 3:08 am #9853
    martyknapp
    Member

    Is there a way to customize how the serial code is displayed on the “thank you” page and customer email? Currently it lists the product name, a dash and then the code:

    MyProduct – ABC123

    I would like to change that to:

    MyProduct Serial code: ABC123

    Thanks for any help.

    October 15, 2013 at 3:46 am #58340
    martyknapp
    Member

    If I can’t do that, is there a way to insert a line before on the “Thank you” page (I’ve done this on the email) so I’d get:

    SERIAL CODE:

    MyProduct – ABC123

    October 15, 2013 at 10:33 pm #58341
    wpCommerce
    Moderator

    Hi, please open the eStore_serial_key_functions.php file and search for the following piece of code:

    $product_code_data .= "n".$cart_item_name." - ".$my_key;

    Once you find it you can replace it with the following:

    $product_code_data .= "n".$cart_item_name." Serial code: ".$my_key;

    Or you can change that line to the following if you just want to output the serial key without the product name:

    $product_code_data .= $my_key;

    October 16, 2013 at 2:37 am #58342
    martyknapp
    Member

    Thank you!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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