Jump to content
Sign in to follow this  
Guest

How to modify check module

Recommended Posts

Guest

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites
Guest
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:

Share this post


Link to post
Share on other sites
Guest
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...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×