If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / Change the contents of email sent to me on new customer creation

Change the contents of email sent to me on new customer creation

Started by devyani on 10 May 2013, 12:18 PM · Views: 1,310

Results 1 to 7 of 7
10 May 2013, 12:18 PM
#1
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Post #1 by devyani

Hi,

I have installed "how did you hear about us" add on to my zencart. Now on new customer creation I also wanted the referral information to be sent in the email under the "office use only" section.
Which file should I edit for that? I could not find such an option thru the admin control.

Thanks
Devyani.

10 May 2013, 1:21 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

I could not find such an option thru the admin control.
Most probably because this is a 3rd party addon and they have not included this

Best to ask in the support thread for that plugin

http://www.zen-cart.com/showthread.php?35623

Zen-Venom Get Bitten

13 May 2013, 4:27 AM
#3
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Post #3 by devyani

kobra:

Most probably because this is a 3rd party addon and they have not included this

Best to ask in the support thread for that plugin

http://www.zen-cart.com/showthread.php?35623

Thanks !
The reason I asked this was because i wanted to understand which file ( that is used to send new customer email) to customize to put this variable in..

13 May 2013, 5:02 AM
#4
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Post #4 by devyani

I guess i found that file - its email_extras.php
There one in my admin and one under the english folder.

13 May 2013, 6:06 AM
#5
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Post #5 by devyani

I have posted the query in that thread, I was hoping if i know the variable under which the referral source gets stored then i can edit the email_extras.php and add that info there.
Not sure if this is the right way. Any pointers ?

13 May 2013, 6:31 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

It's a lot more complicated than that.
You'll need to hack the core functions_email.php file and add your custom code to pull the extra data again from the database and format the data to be included when the function passes it back in the office-use "extra info" return data.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 May 2013, 9:43 AM
#7
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Post #7 by devyani

yes Dr. Byte, I saw the code and got the point.
Each time a new account is created, i wanted to see, who referred the new customer.
I can get this info through the admin also. Just wanted everything in one place thru email...

Thanks