Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Odd data inside Common Email



clank72
member
Posts: 27


I was updating my Thank You Email template yesterday via Account Pref. I checked the box that says "Receive a copy of email sent to buyer" because I wanted to see how it looked.

The customer ordered one product.

Here are the results:


-------------------------
Dear craig,

Thank you for your order.

You may download the software at the link below

https://www.e-junkie.com/d/(removed)

Please note, the download link will expire after 5 attempts or [%expiry_hours%] hours.


ORDER DETAILS:

Name: (removed)
Date: August 10, 2011
Product: [%item_name%]
Total Price: [%sale_price%]
E-mail: (removed)
Transaction ID: 8P591029YT905223T

We appreciate your business and welcome feedback!

Sincerely,
--------------------------------


The Variables were only shown and not the "Hours", "Product" or "Total Price". This was a little embarrassing :-).

Any idea why?


Thanks in advance.


#
POSTED ON: August 11, 2011 @ 08:16 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


Make sure you check the box to Enable Templated Email in the product settings if you want to use template variables in your message for that product. Bear in mind that this will completely override our standard thank-you email, so be sure to use [%download_link%] or [%thankyou_link%] to insert a link to the thank-you page where download links are presented.


#
POSTED ON: August 11, 2011 @ 18:02 GMT -7




clank72
member
Posts: 27


Thanks for the response!

It looks like, though, this option is already checked for my 4 products.

Some variables work fine, some do not process the info.


#
POSTED ON: August 11, 2011 @ 18:27 GMT -7




E-JunkieMonster
E-Junkie Crew
Posts: 564


One thing we forgot to mention above, some variables cannot work in a Common email versus a product specific email.

For example, we can't use [%item_name%] in the common email because there may be more than one item on an order and there's no way to tell which one should be named. [%item_name%] can work in the email message sent out for a specific product, where it will always reference that one product's name.

If you refer to our help page here you can see which tags work in the common setting and which only work in an item specific setting:
http://www.e-junkie.com/ej/help.custom.thankyou-email.htm

Only the tags under the Order Specific heading will work in your common email, those are the variables that have to do with the order in general rather than any reference to a specific item that may or not be on the order.


#
POSTED ON: August 12, 2011 @ 17:50 GMT -7




clank72
member
Posts: 27


Thanks, very helpful!

Makes a lot of sense. I was wondering how the variable would work with more the one item. This explains it.

Any idea why the "[%expiry_hours%] " didn't show? I have my products set to 120 hours.


One more important question...

If "Enable Template E-Mail" is checked inside of a product, then this will by-pass the common email when this particular product is ordered?

So basically, If all Template Email checkboxes are unchecked for products, then the Common template is sent for all?


#
POSTED ON: August 12, 2011 @ 19:33 GMT -7
MODIFIED ON: August 12, 2011 @ 19:39 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


We always send the buyer your Common Thank-you Email for every order, regardless of which item(s) they ordered. In addition, we also send a separate, product-specific thank-you email for each digital item they order, and for any tangible item they order that has anything entered in the product's Email Message field.

If you want to disable the product-specific messages and only send a single, Common Thank-you Email for each order, tick the Enable Templated Email checkbox in the settings of each digital product and leave the Email Message field there blank (since we can't generate an email from a template if no template is provided :^). For tangible items, you can just leave the Email Message field blank, whether or not they also have Enable Templated Email checked.

If you were using [%expiry_hours%] in your Common Thank-you Email template, that would not have worked because [%expiry_hours%] is an item-specific variable that only works in product-based thank-you email templates.


#
POSTED ON: August 15, 2011 @ 20:08 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam