Custom email templates

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
GrfxDan
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Sat May 26, 2007 10:58 am
Location: Mt Zion, IL
Contact:

Custom email templates

Post by GrfxDan » Wed Oct 20, 2010 6:35 am

I really didn't think this would be that difficult but I'm having a TERRIBLE time trying to simply include the customer's first & last name at the top of an email. I've tried $user.Firstname & $user.Lastname but it doesn't work. I thought maybe it was case sensitive so I tried $User.Firstname and $User.Lastname but that didn't work either. I then tried $customer.Firstname and $Customer.Firstname - neither of which worked. I simply tried $User (which http://wiki.ablecommerce.com/index.php/ ... scriptlets lists as a valid variable and that doesn't even work!

What gives? How can I include the customer name in an email? I prefer to have it display the First and Last names but I'll settle for anything at this point.

PLEASE help!

Dan
<><
Image

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Custom email templates

Post by mazhar » Wed Oct 20, 2010 6:54 am

What is the EMail template that you are using for this?

skhvatkov2010
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Mon Oct 11, 2010 4:12 pm

Re: Custom email templates

Post by skhvatkov2010 » Wed Oct 20, 2010 8:00 am

Try $User.PrimaryAddress.FirstName and $User.PrimaryAddress.LastName.

User avatar
GrfxDan
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Sat May 26, 2007 10:58 am
Location: Mt Zion, IL
Contact:

Re: Custom email templates

Post by GrfxDan » Wed Oct 20, 2010 12:30 pm

Mazhar, I created a new blank email template. I'm looking to email special offers to customers who've signed up for my email list. There are no default templates suitable for this so I created a new, blank template. Unfortunately it would appear that none of the variables work. I tried shvathov2010's suggestion too with no luck.
Image

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Custom email templates

Post by jmestep » Wed Oct 20, 2010 12:59 pm

Is it a template that is not hooked to a trigger to send it? If so, you have to pass parameters differently.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
GrfxDan
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Sat May 26, 2007 10:58 am
Location: Mt Zion, IL
Contact:

Re: Custom email templates

Post by GrfxDan » Wed Oct 20, 2010 1:04 pm

It is not hooked to a trigger. How then are parameters passed to the template?
Image

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Custom email templates

Post by igavemybest » Wed Oct 20, 2010 3:00 pm

I say just export to an email client. Mailchip is what we use, you can send up to 6000 emails free a month, so its pretty sweet if you are low volume. Here's the link: http://eepurl.com/5baw

User avatar
GrfxDan
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Sat May 26, 2007 10:58 am
Location: Mt Zion, IL
Contact:

Re: Custom email templates

Post by GrfxDan » Wed Oct 20, 2010 3:04 pm

I've thought about using another email client but what's the purpose of having the functionality built into AC if you're not going to use it / or if it's not going to work?
Image

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Custom email templates

Post by jmestep » Thu Oct 21, 2010 7:23 am

Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply