Forums / Customization from the Admin / How to add customer ID on the check out email?

How to add customer ID on the check out email?

Views: 1,436

Results 1 to 4 of 4
27 May 2011, 10:02 AM
#1
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

How to add customer ID on the check out email?

Hi

I need to add my customer ID on chechout success email.

and i need to know how to do that, also is it possible to add the ID on the my account page (the one that customer can access once logged to the store)

Thank you

19 Jul 2011, 9:47 PM
#2
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: How to add customer ID on the check out email?

I need to add the customer ID on the order confirmation's mail?

how can i do that?

thank you

19 Jul 2011, 10:02 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: How to add customer ID on the check out email?

The customer ID is found in the $_SESSION['customer_id'] variable. Add it wherever you feel it's needed for your unique requirements.

.
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.

19 Jul 2011, 10:33 PM
#4
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: How to add customer ID on the check out email?

thank you so much for the quick reply! i've already added it into my welcome mail with some adjustments.

and how to add it to the check out mail? i mean i only have to add the code: $_SESSION['customer_id'] wherever i need on the template mail?

thanx!