Guest Posted August 8, 2005 Share Posted August 8, 2005 Hi there! I'm interested in removing Your order will not ship until we receive payment. from the check/money order payment module. Is that possible? also, so that it would't appear on the clients email. Thanks so much! donna Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted August 8, 2005 Share Posted August 8, 2005 catalog/includes/languages/english/modules/payments/moneyorder.php Change lines 14 and 15 to define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', ' '); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', ' '); HTH Tom Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted August 8, 2005 Share Posted August 8, 2005 (edited) darn flacky DNS .... double posted. Edited August 8, 2005 by OceanRanch Quote Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2005 Share Posted August 9, 2005 Hi there :0) I tried changing the code to the one recommended and I received a parsh error. The 1 line I'm trying to remove from the check/money order payment module is Your order will not ship until we receive payment. thanks so much! :0) donna Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted August 9, 2005 Share Posted August 9, 2005 Same file - catalog/includes/languages/english/modules/payments/moneyorder.php find define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); and change to define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" ); Do not use the oscommerce File Manager editor. It will cause parse errors by stripping the escape character \. Edit locally on your PC then ftp back to your site. If you still have parse errors then post the code for us to see and we will point out the error for you (hopefully). HTH Tom Quote Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2005 Share Posted August 9, 2005 Hi there ;0) Thanks for your help with this. I tried that change, here is the new error: Warning: Cannot modify header information - headers already sent by (output started at /home/username/domain-www/catalog/includes/languages/english/modules/payment/moneyorder.php:20) in /home/username/domain-www/catalog/includes/functions/general.php on line 28 Thanks so much donna Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted August 9, 2005 Share Posted August 9, 2005 You probably have white space at the end of the following file. /home/username/domain-www/catalog/includes/languages/english/modules/payment/moneyorder.php Delete the spaces and/or newlines per http://www.oscommerce.info/docs/english/e_...ready_sent.html and you should be good to go. HTH Tom Quote Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2005 Share Posted August 9, 2005 Hi there! thanks, you were right. I had white space after one of the periods. That code took the Your order will not ship until we receive payment. out of the order processing email the script sends out. is there a separate code to remove Your order will not ship until we receive payment. from the checkout confirmation page? thanks so much for helping with this. donna Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2006 Share Posted November 26, 2006 You probably have white space at the end of the following file. /home/username/domain-www/catalog/includes/languages/english/modules/payment/moneyorder.php Delete the spaces and/or newlines per http://www.oscommerce.info/docs/english/e_...ready_sent.html and you should be good to go. HTH Tom Hi, May I ask how to change the "send to" address in moneyorder.php to my own address? Right now it is saying: Send To: Store Name Address Country Phone I've checked Admin, the language folders and all the related files...but can't find where is (STORE_NAME_ADDRESS) defined... Thanks for your help :blush: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2006 Share Posted November 26, 2006 Hi, May I ask how to change the "send to" address in moneyorder.php to my own address? Right now it is saying: Send To: Store Name Address Country Phone I've checked Admin, the language folders and all the related files...but can't find where is (STORE_NAME_ADDRESS) defined... Thanks for your help :blush: Opps! Ignore me...Looks like I overlooked Admin>Configuration>My Store =P. Its one of those situations...trying to find your glasses...but its resting right on your head =P... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.