1

I need to send some data in the email which is sent to every new registered user. The data is a string which is to be fetched from the database or an excel sheet(whichever is possible). I was wondering is there is anyway to do that.

1 Answer 1

1

One solution might be to use Custom Variables.

  • Navigate to System > Custom Variables

image

  • Create your variable and give it values (HTML and plain text)

image

  • Then navigate to System > Transactional Emails

image

  • Under the Load default template, select the "New account" template and click Load Template. Then use the Insert Variable button to locate and insert the variable you just created, and hit Save.

image

  • Lastly, navigate to System > Configuration. Under Customer > Customer Configuration > Create New Account Options, select your new email template as the "Default Welcome Email" and click Save.

image


Otherwise for a more dynamic solution, you should create a custom block and template, then included it the transactional email template.

1
  • Thanks for the solution..but the data I need to put in the email is to be fetched from a database i.e. Dynamic..This is more of a static approach. Commented Jul 9, 2015 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.