Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Removing the automated Space between {slm_data}{product_specific_instructions}
Tagged: Software License Manager
- This topic has 6 replies, 2 voices, and was last updated 8 years, 4 months ago by raustin.
-
AuthorPosts
-
July 16, 2016 at 1:16 am #13600raustinMember
Hello,
I am using the product specific instructions as part of my license # (where slm_data is my automated license number via your License Manager)
When the automated email is created there is a space between these two fields in which I would like to remove. Could you possibly direct me to which Plugin File and how I may edit this code to remove that automated space?
Thanks so much in advance,
Randy
July 16, 2016 at 4:30 am #73696adminKeymasterIt has a newline character so the data is put on a new line (to make it more readable in the email). Are you referring to that newline character?
Or is there an space character also that I am not seeing?
July 16, 2016 at 6:51 am #73697raustinMemberHi its usually not a new Line, its just a space, but since its a complete License # I would like to put them together
Currently Like this:
LBC57897596ca4a8 LFBC
and I would like it to appear like this
LBC57897596ca4a8LFBC
Thanks very much.
Randy
July 17, 2016 at 1:57 am #73698raustinMemberHello,
Your response, does not show me on how to remove the space, although this thread has been marked as “answered” which it is not.
is there a way to use this plugin:
https://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
to remove the space between the slm_data and product specific instructions that is sent to my customers? There is no space in my email template, therefore there should be no space in the actual email.
So I don’t have to start another thread, can you please follow up on this for me?
Thank you,
Randy
July 17, 2016 at 3:06 am #73699adminKeymasterHere are the files that you should look into to modify:
For {slm_data}
Look in the following file:
software-license-manager/includes/slm-third-party-integration.php
Search for the following line in that file:
$license_data = “n” . __(‘Item Name: ‘, ‘slm’) . $retrieved_product->name . ” – ” . __(‘License Key: ‘, ‘slm’) . $slm_key;
For {product_specific_instructions}
Look in the following eStore plugin file:
eStore_post_payment_processing_helper.php
Search for the following line in there:
$product_specific_instructions .= “n” . $retrieved_product->item_spec_instruction;
We never close our forum topics (there will always be a reply to a valid question from our users). So nothing to worry there. Please note that it can take upto 24 hours for a reply though.
July 17, 2016 at 4:11 am #73700raustinMemberGreat, thanks very much. I believe I can figure it out from here. I will keep post my follow up from here. Thank you.
July 17, 2016 at 6:13 am #73701raustinMemberThanks very much it worked great witht he Product_Specific_instructions file, all I did was change
$product_specific_instructions .= “/n” . $retrieved_product->item_spec_instruction;
to this
$product_specific_instructions .= “” . $retrieved_product->item_spec_instruction;
Thanks very much for your help,
Randy
-
AuthorPosts
- You must be logged in to reply to this topic.