Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › How To Display Member ID / Level Name in eStore's Notification Email?
Tagged: email, notification email
- This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago by 
jaysantos.
 
- 
		AuthorPosts
 - 
		
			
				
February 16, 2015 at 8:36 am #12222
jaysantos
SpectatorI am using eStore + eMember + Credit addon to sell digital downloads. Customer can checkout with credits or with cash (Paypal). Cash customer is not required to join membership.
Now, I want the seller notification email can tell me if the purchase is paid by credits or by cash (or the purchase is done by member or casual buyer). I tried below codes in the notification email:
Hello,
There’s a sale at YourShop.com
Here are the details :
Product Name: {product_name}
Product ID: {product_id}
Price: {product_price}
The sale was made to:
Name:{first_name} {last_name}
Email: {payer_email}
Member ID : {member_id}
Membership : {membership_level_name}
The result : the last two parameters didn’t work. Apparently the eMember email tag didnot work in eStore habitat.
So my question: is there any way to achieve that? Please advice.
Thank you,
Jay
February 16, 2015 at 11:26 pm #68634admin
KeymasterThe eMember email tags won’t work in an email that comes from eStore. These two plugins work together nicely on many levels but they are two completely separate plugins.
I am not sure what the “member_id” value in that email will accomplish? How will that tell you if the purchase is via cash or credit?
February 18, 2015 at 6:32 am #68635jaysantos
SpectatorIf he is a member, the purchase is surely using credits. Because membership is available only for customers who wants to pay with credits. For cash buyers no need to open an account.
Those are the only parameters I could think of to identify a cash or credit transaction.
So it seems I don’t get any solution yet.
February 19, 2015 at 2:30 am #68636admin
KeymasterIn that case use the following email tag in the eStore’s notification email body. It will have the user’s member ID (if one exists):
{eMember_id}February 23, 2015 at 2:35 am #68637jaysantos
SpectatorWoow..it works!! Yihaa…
How come I miss that code?!
I wrote {member_id} but instead the correct one is {eMember_id}
Thank you so much. A great, great support!
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.