- This topic has 3 replies, 2 voices, and was last updated 11 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Customize label for serial key code
Tagged: license key, serial key
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.
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
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;
Thank you!