Page 1 of 1

Custom email templates

Posted: Wed Oct 20, 2010 6:35 am
by GrfxDan
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
<><

Re: Custom email templates

Posted: Wed Oct 20, 2010 6:54 am
by mazhar
What is the EMail template that you are using for this?

Re: Custom email templates

Posted: Wed Oct 20, 2010 8:00 am
by skhvatkov2010
Try $User.PrimaryAddress.FirstName and $User.PrimaryAddress.LastName.

Re: Custom email templates

Posted: Wed Oct 20, 2010 12:30 pm
by GrfxDan
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.

Re: Custom email templates

Posted: Wed Oct 20, 2010 12:59 pm
by jmestep
Is it a template that is not hooked to a trigger to send it? If so, you have to pass parameters differently.

Re: Custom email templates

Posted: Wed Oct 20, 2010 1:04 pm
by GrfxDan
It is not hooked to a trigger. How then are parameters passed to the template?

Re: Custom email templates

Posted: Wed Oct 20, 2010 3:00 pm
by igavemybest
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

Re: Custom email templates

Posted: Wed Oct 20, 2010 3:04 pm
by GrfxDan
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?

Re: Custom email templates

Posted: Thu Oct 21, 2010 7:23 am
by jmestep