Zen Cart Logo
Forums / General Questions / email confirmation and invoice question

email confirmation and invoice question

Locked

Views: 2,424

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
24 Oct 2008, 9:38 PM
#1
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

email confirmation and invoice question

Folks,

I have my store password protected so Im the only one who gets in the store. I use Zen Cart as a way to bill my customers paperless. Yes, I know its quite an unusual use of zencart and who knows I may be the first person to ever do it? Ahh probably not LOL

I have a few questions about the email that gets sent to the customer after the order is processed. First, where is this file located so I may edit it to say what I want on it and not the default text?

Second, in this email confirmation it gives the customer a link to a "detailed invoice". Of course this invoice is included in the store and the customer wont be able to get there since the store is protected. Is there a way to move those invoices into another directory where they can retrieve it and print it for themselves if they wish to.

Optionally, I could do away with the link in the confirmation email and let the confirmation email serve as the invoice.

I would like them to be able to access the invoice and print it though for their convenience.

Let me know what the gurus think. As always, many thanks.

25 Oct 2008, 2:02 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: email confirmation and invoice question

  1. The confirmation email is built from a combination of the text in the checkout_process language file and the commands in the send_email function of the order.php class.

  2. The "detailed invoice" link is actually a link to their My Account area, where they can click on their order history to see their order details.

  3. There is no invoice "file" for them to print. The email is probably the best choice if you don't want to allow them to view their own billing history online.

25 Oct 2008, 2:41 AM
#3
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

Re: email confirmation and invoice question

Thanks good Dr. Ill be working on it in the morning. Ill let you know how it goes.

25 Oct 2008, 4:22 PM
#4
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

Re: email confirmation and invoice question

Hey Doc...

In the order_process.php file Ive got some of it changed but my new question is:

Can I simply remove the line:

define('EMAIL_TEXT_INVOICE_URL_CLICK', 'Click here for a Detailed Invoice');

and the line:

define('HEADING_SHIPPING_METHOD','Shipping Method');

We dont ship products as we are a service company. Id like to chage the shipping line to say:

"We trust you've experienced extraordinary service today. Thank you for your payment" instead of "Your order will not ship until we receive payment."

Got some ideas for me? Thanks in advance...

25 Oct 2008, 11:10 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: email confirmation and invoice question

Don't ever remove define() statements. Instead, if you want the default text to not show, change the defined value to an empty set of quotes, ie: define('LEAVE_THIS_PART_ALONE', '');

You could change "Shipping Method" to something blank.
And then go find the "Your order will not ship ..." text and change it to what you want it to say.

29 Oct 2008, 2:54 PM
#6
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

Re: email confirmation and invoice question

DrByte:

Don't ever remove define() statements. Instead, if you want the default text to not show, change the defined value to an empty set of quotes, ie: define('LEAVE_THIS_PART_ALONE', '');

You could change "Shipping Method" to something blank.
And then go find the "Your order will not ship ..." text and change it to what you want it to say.

OK Dr... Im struggling with this. Where exactly is the file with the "your order will not ship..." text? Or what is it called I should ask.

Am I to add a define statement to set an empty value in the order.php file or am I to leave the empty quotes?

2 Nov 2008, 9:59 PM
#8
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

Re: email confirmation and invoice question

Yes, you're good. I got it. Perfect...

Many thanks.

2 Nov 2008, 10:36 PM
#9
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

Re: email confirmation and invoice question

Still not finding a way to get rid of the "Detailed Invoice" part of the email. Im sure the link is automatically generated so its different with each order. The only thing I can think is that the "define" statement has to be removed which includes this.

Since the email confirmation serves as the invoice there is no need for them to click to an invoice.

3 Nov 2008, 6:10 AM
#10
drbyte avatar

drbyte

Sensei

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

Re: email confirmation and invoice question

If you dare to mess with core files that cannot use overides, you can fiddle with the assembly of the actual email in the send_mail function in /includes/classes/order.php