Forums / Setting Up Categories, Products, Attributes / Customize order receipt based on product purchased

Customize order receipt based on product purchased

Locked

Views: 1,944

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Aug 2007, 10:38 PM
#1
murphysr avatar

murphysr

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Customize order receipt based on product purchased

I'm a newbie making my first post to the forum. However, I must say I've been amazed at how thoroughly all here have covered questions I have encountered in setting up my first ZC.

I'm in the final stages of my cart setup. However, I have saved what I expect to be the toughest issue for last. I'm trying to setup a couple of products in my new cart which are subscription types of products. Therefore, in the order receipt I would like to include authentication info...username and password...for the subscription services. Of course, there are other types of products available in my cart as well. Therefore, this is only an issue for when customers select one of my subscription types of products.

Does anyone have a suggestion as to how to approach this? I'm not opposed to doing some custom PHP if I must. However, I would much prefer to leverage ZC as much as possible.

Thanks in advance for any help you can give.

13 Aug 2007, 2:15 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Customize order receipt based on product purchased

Here's where I'd suggest you add your logic for your custom code:
http://www.zen-cart.com/forum/showthread.php?t=69666

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

13 Aug 2007, 6:07 AM
#3
murphysr avatar

murphysr

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Re: Customize order receipt based on product purchased

Awesome. Thanks DrByte. I added custom code to ./includes/classes/order.php to send the subscriber's login/password info via their order confirmation email. It works like a charm!