Zen Cart Logo
Forums / General Questions / Check payable to info missing from order email

Check payable to info missing from order email

Locked

Views: 1,568

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
26 May 2007, 9:52 AM
#1
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Check payable to info missing from order email

When check/money order is used, the information as to who to make the cheque payable to and where to send it is not appearing in the HTML version of the email received by the client, although t shows in the text only version.

Where do I go to fix that?

26 May 2007, 12:04 PM
#2
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Check payable to info missing from order email

Ryk, in /includes/classes/order.php round about line 950-55, the text email build uses

$email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';

i.e. use the payment class email footer, which in your case is the famous
MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER, or use the same thing. Hobsons choice.

However the equivalent html_message code says:

$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] );

which I would say is not quite the same thing.

26 May 2007, 2:14 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Check payable to info missing from order email

I cannot reproduce this error ...

What version Zen Cart?

Clean install or upgrade?

26 May 2007, 2:18 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Check payable to info missing from order email

Okay so my v1.3.8 test site is a little smarter than your v1.3.7 release ... :smartalec:

It is fixed in the upcoming v1.3.8 ... :smile:

26 May 2007, 2:36 PM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Check payable to info missing from order email

So is there a simple fix for 1.3.7 - because I don't see how to add it in in either section that Chuckl has described?

I don't really want to hard code it into the email because it won't always be applicable.

Or do I just tell the client to wait a while?

26 May 2007, 9:33 PM
#7
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Check payable to info missing from order email

Thanks. :thumbsup:

27 May 2007, 1:58 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Check payable to info missing from order email

You mean it worked?! :eek:

er ... umm ... of course it worked ... the good DrByte rulez ... :cool:

Not bad for never testing that first eh? :smartalec:

27 May 2007, 8:34 AM
#9
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Check payable to info missing from order email

Ajeh:

You mean it worked?! :eek:

No idea! I was thanking you for the pointer...but DrByte is usually right. :D

I've made the change and awaiting the customer to test...if I don't come back, all is well. :wink: