Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to modify check module


Guest

Recommended Posts

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

Link to comment
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

Link to comment
Share on other sites

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

Link to comment
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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 year later...
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:

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...