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

Email Settings – Product Specific Instructions

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Email Settings – Product Specific Instructions

Tagged: email tags, product specific instructions

  • This topic has 15 replies, 4 voices, and was last updated 9 years ago by StarCircleAcademy.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • May 15, 2012 at 12:55 am #6322
    njevic
    Spectator

    Up till now I’ve only sold digital products with the default Buyer email providing the encrypted link and download instructions.

    Now I want to sell Consulting Services. I want the Buyer emails to provide the encrypted download link and instructions for digital products, and a totally different email for buyers of the Consulting Services.

    As I searched on the forum for answers, I think I read that email tags do not work in the “product specific instructions” section of the add/edit product module.

    So, would I just:

    1. add the email tag {product_specific_instructions} to the body of the email;

    2. leave the {product_link_digital_items_only} tag in the email (with whatever related text);

    3. cut any download instructions from the body of the email and paste them into the “product specific instructions” section for each digital product;

    4. add whatever instructions I want for the Consulting Services product?

    Thanks,

    Nick

    May 15, 2012 at 3:43 am #45055
    admin
    Keymaster

    Yes, you are correct. Using the following email tag is the key as it will only add the product download links for digital items (so for your physical items there won’t be any links in the email):

    {product_link_digital_items_only}

    Many users just prefer to use a Generic instruction (applies to any product) in the email then use the “Product Specific Instruction” section to add any special instructions (if any) needed for that product.

    September 1, 2013 at 6:10 am #45056
    josh401
    Member

    Is this still the case? Does the “Product Specific Instructions” area not accept email tags?

    For example, I have many different digital download items. One of them will require activation. In the purchase email, I would like to include the activation details (trans id, email, serial number, etc). But, I don’t want the buyers of my other (non license) products to also receive the license instructions.

    Just one measly persons opinion… but it seems counter-intuitive to not accept email tags in this section. Is there a particular reason for this logic?

    If this is the case, is there a simple way I can add this into the plugin?

    Thank you, kindly!!

    September 2, 2013 at 2:28 am #45057
    admin
    Keymaster

    There was a reason for it but this is something I am working on to change. So some of the email tags can be used in the product specific instruction now. I have sent you an updated copy of eStore where it will allow you to use email tags in there.

    September 2, 2013 at 3:48 am #45058
    josh401
    Member

    Got it. Thank you!

    You are FANTASTIC!! If there is anywhere I can go to vote, rate, testify… please let me know!

    September 3, 2013 at 6:04 am #45059
    josh401
    Member

    Okay, it works great in version 6.9.9.1.

    One request… it would be a HUGE timesaver if there were a way to send a test email. You could use the admin email account as the “To:”.. and the content as the subject. (Maybe use dummy variables).

    I’m trying to tweak out the email sent.. but the option of HTML or Plain Text is not playing nicely. There is a LOT of extra white space in the email that is sent.

    In order to test, I have to go through an entire purchase on my sandbox. It would be AWESOME to have a button to send a test email.

    You guys freakin ROCK!!

    September 3, 2013 at 11:10 pm #45060
    admin
    Keymaster

    There is an option to send an email (it can be a test email if you want) from the admin functions menu of this plugin. Is that something you are looking for?

    September 4, 2013 at 8:30 am #45061
    josh401
    Member

    Well, that one sends it as plain text. That option works dandy!

    However, the option to send email as HTML from the ’email settings’ page, seems a little odd to me. It’s adding break tags everywhere, and the resulting email has a lot of extra white space.

    I wonder if it is a filter the plugin applies to the content of the email?

    After successive test emails to myself, I do have the final output how I like. But if I use actual HTML tags.. it blows it up with extra white space.

    For example.. if I insert:

    <h2>Thank You!</h2>
    <p>Sentence One</p>
    <p>Sentence Two</p>

    The html markup of the email is like so:

    h2>Thank You!</h2><br />
    <p>Sentence One</p><br />
    <p>Sentence Two</p><br />

    Which ends up with something like this (can’t get the forum to duplicate the extra white space):

    Thank you!

    [imaginary space]

    Sentence One

    [imaginary space]

    Sentence Two

    September 5, 2013 at 12:54 am #45062
    admin
    Keymaster

    The HTML email applies a WordPress filter so I have a feeling something is getting messed up there.

    Did you try switching to the “Text” view and then just use a newline (don’t use paragraph tags). The WordPress filter will apply the auto paragraphs. So in “Text” view make your email body look like the following:

    <h2>Thank You!</h2>
    Sentence One
    Sentence Two

    Then check the output.

    September 5, 2013 at 6:42 am #45063
    josh401
    Member

    Yup! That’s exactly what I did to get the email output how I wanted.

    BUT… if you switch over to ‘visual’ and back to ‘text’… you lose much of the formatting.

    This has been a HUGE burden for me with my plugin, Ultimate Tinymce.

    Are you using the wp_editor() function to create the tinymce textarea?

    Which filters are you using on the output?

    (If you wanna point me to a file.. I’ll take a look)

    September 5, 2013 at 11:10 pm #45064
    admin
    Keymaster

    Hi Josh, Yeah I am using wp_editor() function. I think the main issue is coming from the backwards compatibility that I am trying to keep with the plugin. Previously there used to be an option for plain text email only (I prefer the plain text email for this kind of sale notification). So that field used to have newline characters. I am using a few extra filtering on that message so after a user upgrades, the email body stays the same. So the nl2br() function that I am using could be adding the extra lines. I am going to remove that function eventually but I had to add it for the backwards compatibility. You can see what I am doing in the “eStore_utility_functions.php” file (inside the wp_eStore_send_wp_mail() function).

    September 6, 2013 at 6:13 am #45065
    josh401
    Member

    That makes complete sense. Sheesh… backwards compatibility… makes my head hurt just thinking about it!

    Well, I’m happy! The emails are now perfect… so I’m gonna leave ‘well enough’ alone. I mean, it works perfectly as it stands… I was just going for some extreme output of the email (basically an email template with all the bells and whistles).

    Perhaps an option to use an external email template?? It could use placeholders in the document.. that then get replaced with the actual email tags. (I know, I know… more work… I’ll stop thinking out loud now ;)

    Lastly.. the licensing we were discussing on the other thread is now working. Man, this thing is awesome!! :) Your plugin is amazing.. and the ability to tweak it further makes it an ace in my pocket!

    I think the wife is contemplating killing me if I don’t take a break from the computer. So, I’m gonna take a couple of days, and give to the family. Afterwards, I’d like to make the licensing system a plugin.. and perhaps you could include it in you addons section :)

    Take care.. and I’ll catch you again soon!

    September 6, 2013 at 11:00 pm #45066
    admin
    Keymaster

    LOL… take your break then we will chat about the licensing plugin later.

    March 16, 2014 at 12:50 am #45067
    StarCircleAcademy
    Member

    Is there a list somewhere of what variables can be substituted into the “Product Specific Instructions” sent to a buyer? I’d like to create a custom URL using the buyer name and email address (and perhaps other bits of info like the transaction ID).

    On the email settings (at the very bottom) it lists these:

    {first_name} – First name of the user

    {last_name} – Last name of the user

    {product_link} – Download link of the product the squeeze form is giving.

    I’m thinking something like this:

    Thanks for your purchase. Click here for something extra special:

    example.com?email={email}&buyer={first_name}%20{last_name}&TXid={txnId}&Perk=FreeLunch

    or

    Click below to let us know how you like this product:

    surveymonkey.com?survey=xxx&email={email}&buyer={first_name}%20{last_name}&TXid={txnId}

    Where email, and txnid all are from the purchase information.

    March 16, 2014 at 3:31 am #45068
    admin
    Keymaster

    It can do all the email tags except the ones for download link and license key data.

    So what you are trying to do should be fine.

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

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ