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

Removing the automated Space between {slm_data}{product_specific_instructions}

by

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, 10 months ago by raustin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 16, 2016 at 1:16 am #13600
    raustin
    Member

    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 #73696
    admin
    Keymaster

    It 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 #73697
    raustin
    Member

    Hi 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 #73698
    raustin
    Member

    Hello,

    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 #73699
    admin
    Keymaster

    Here 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 #73700
    raustin
    Member

    Great, 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 #73701
    raustin
    Member

    Thanks 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

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