www.uburst.com www.uburst.com

"Changing payment method text"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Changing payment method text"
Posted by Gary Torello on May-16-01 at 09:27 AM (EST)
Hi!

Some time ago, with your help we made a mod to ushop.pl in order to have the payment type appear in the confirmation email (see below to see what we did) which is working great.

However, we're using the "cod_payment" option to allow our consultants to place an order, get a total and then send a check PRIOR to shipping and would like the payment type line to say something other than "cod_payment" (causes confusion) like perhaps "check_payment"

How can we accomplish this? Thanks!

------------------

WHAT WE DID PREVIOUSLY:

STEP 3: Do a search on the following line:

$receipt_text = &get_receipt_text("YES");

STEP 4: Immediately AFTER that line, add the following line:

$receipt_text .= "\nPayment Method: $payment_method\n";

STEP 5: Save the file (as TEXT if your editor asks)... and try it out!

(An indication of the type of payment should be displayed at the bottom of the email.)

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Changing payment method text, Bill Weiner, May-16-01, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Changing payment method text"
Posted by Bill Weiner on May-16-01 at 09:32 PM (EST)
Well, if you just want it displayed on the email notification, then you can just modify STEP 4 (above) by changing it from:

$receipt_text .= "\nPayment Method: $payment_method\n";

to

if ($payment_method eq "cod_payment")
{
$receipt_text .= "\nPayment Method: Check\n";
}
else
{
$receipt_text .= "\nPayment Method: $payment_method\n";
}

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.