Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
var customer.name not working in newsletter subscription confirmation
 
stirrell
Jr. Member
 
Total Posts:  15
Joined:  2008-12-04
 

I’m sorry if this has been answered in another thread. I did some searching but couldn’t find the answer.

I have a custom template for the confirmation email that goes out to a user who subscribes to a newsletter:

<p><strong>Dear {{var customer.name}}</strong>,<br/>
Thank you for subscribing to our newsletter.

{{var customer.name}} is not returning anything. This same construct works fine in the recommend a wish list but, for some reason, not in the Newsletter confirmation email. Is there something else I need to do to enable this variable on that particular template?

Thank you,
Scott

 
Magento Community Magento Community
Magento Community
Magento Community
 
jonasfr
Member
 
Total Posts:  31
Joined:  2008-09-27
 

same problem :-( any help highly appreciated!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alban
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2007-08-31
France
 

Try whith {{var subscriber.name}} .
I haven’t try it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
stirrell
Jr. Member
 
Total Posts:  15
Joined:  2008-12-04
 
Alban - 19 December 2008 03:09 AM

Try whith {{var subscriber.name}} .
I haven’t try it.

Thank you for the suggestion. Unfortunately, I tried it with the same results - there is no name populated in the template.

Sincerely,
Scott

 
Magento Community Magento Community
Magento Community
Magento Community
 
WinginIt
Member
 
Total Posts:  43
Joined:  2008-12-12
 

Version 1.0

Plain old {{var name}} worked for me.  It picks up the email user name only - which is friendlier.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alban
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2007-08-31
France
 
WinginIt - 19 December 2008 07:28 AM


Plain old {{var name}} worked for me.

Yes it’s take the first part of the email. It’s not to bad for people who haven’t account. But for login people, I don’t find solution

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jonathan123
Sr. Member
 
Total Posts:  215
Joined:  2008-09-14
 

Having the same problem… any suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
got-bonsai
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-10-25
Wales, UK
 

{{var subscriber.CustomerFirstname}}
{{var subscriber.CustomerLastname}}
{{var subscriber.SubscriberEmail}}

These seem to work ok

 
Magento Community Magento Community
Magento Community
Magento Community
 
MI
Sr. Member
 
Total Posts:  172
Joined:  2008-12-11
Spain
 

Hi

same problem
Nothing works for me :-( :-(

 
Magento Community Magento Community
Magento Community
Magento Community
 
RichmondDM
Jr. Member
 
Total Posts:  9
Joined:  2010-03-06
 

Hello,

Anyone able to fix this problem on magento 1.4?

We need help on this please…

 
Magento Community Magento Community
Magento Community
Magento Community
 
miciokas
Jr. Member
 
Total Posts:  1
Joined:  2009-12-21
 

Hello.

I also have the same problem. Did anybody solve it?

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Punani
Sr. Member
 
Total Posts:  76
Joined:  2008-02-12
 

same here… don’t know where to look anymore… has anyone called it in (bug) ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kiatng
Enthusiast
 
Total Posts:  875
Joined:  2008-09-03
Kuala Lumpur, Malaysia
 

Try

{{var subscriber.getCustomerFirstname()}}
 
Magento Community Magento Community
Magento Community
Magento Community
 
tsunami
Jr. Member
 
Total Posts:  26
Joined:  2010-02-20
 

+1

I have the same problem.  Reporting back:

These did not work:
{{var customer.name}}
{{var subscriber.name}}
{{var subscriber.CustomerFirstname}}
{{var subscriber.getCustomerFirstname()}}

This worked, but it was the first part of the email address:
{{var name}}

Magento 1.4.0.1

 
Magento Community Magento Community
Magento Community
Magento Community
 
mikizzi
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-06-12
Palermo
 

I have same problem!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
xYcLoNe
Member
 
Avatar
Total Posts:  31
Joined:  2008-06-05
 

bump to this one…

im using 1.4.1.1 but only {{var name}} works which is only the username from the email address…

is there any other way to get the subscriber name?

Thanks..

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2