Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't edit address for cheque orders


pcfella

Recommended Posts

Posted

I have a cheque/money order module and it lets me change the 'Make Payable to' entry but the Send to: entry just reads :

 

Send To:

Store Name

Address

Country

Phone

 

I really can't see anywhere to edit this, I'm using 2.2-ms2.... how old is that?

Posted

Have you thought of looking in the admin area for payment modules?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

I certainly have, I have a 'modules' area, not 'payment modules' and it lets me change the name for the cheque/postal order, but not the address to send them to.

 

I presumed that it would be a general shop admin area but I've looked all through, I can't even see a php to tweak.

Posted

Admin >> Modules >> Payment highlight Check/Money Order

 

This should allow you to edit

 

Make Payable To:

 

Send To:

 

etc

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Nope, I CAN get to that area, I CAN change the chequee but not the Sent to info.

 

It's as if it is supposed to pick them up from the general store settings somewhere.

 

All I get is this.

 

 

Enable Check/Money Order Module

Do you want to accept Check/Money Order payments?

 

(Ticked) True

False

 

Payment Zone

If a zone is selected, only enable this payment method for that zone.

--none--European CountriesUSA States

 

Set Order Status

Set the status of orders made with this payment module to this value

defaultCompleted

 

Sort order of display.

Sort order of display. Lowest is displayed first.

(editable field)

 

Make Payable to:

Who should payments be made payable to?

(editable field)

Posted

Look in /catalog/includes/languages/english/modules/payment/moneyorder.php

 

<?php
/*
 $Id: moneyorder.php,v 1.6 2003/01/24 21:36:04 thomasamoulton Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

 define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
 define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.');
 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.');
?>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

That's fantastic thanks, at least now I know which file it is, but it refers to the variable "STORE_NAME_ADDRESS".

 

I can strip out the variable and adjust that to go to straight text but can I just find where that variable is defined and change it there?

 

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

 

 

 

Look in /catalog/includes/languages/english/modules/payment/moneyorder.php

 

<?php
/*
 $Id: moneyorder.php,v 1.6 2003/01/24 21:36:04 thomasamoulton Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

 define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
 define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.');
 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.');
?>

Posted

From what I can determine, STORE_NAME_ADDRESS is defined in the DB

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

?

 

In the DB ?

 

How do I edit that...

 

(I really don't have the usual option in 'my store' to enter the store address and phone numbers)

 

 

 

From what I can determine, STORE_NAME_ADDRESS is defined in the DB
Posted

I guess you'd need to use PHPMYADMIN in your Control Panel to alter that.

 

Or you could just alter the text in the file I posted (as you've already noted).

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thanks for that, I think I will probably be editing it for straight text then.

:thumbsup:

 

Am I right in thinking that my version of OSC has, in some way, been cut down by not having these things in the 'my store' area of the admin page?

 

 

 

I guess you'd need to use PHPMYADMIN in your Control Panel to alter that.

 

Or you could just alter the text in the file I posted (as you've already noted).

Posted
Am I right in thinking that my version of OSC has, in some way, been cut down by not having these things in the 'my store' area of the admin page?

I don't think so.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Hmm, ok. It's just that while looking for the answers to how to configure this people have constantly told me to go to the store config page in Admin or to go to the module setup page, neither of which obviously helped.

 

Just a thought.

 

Thanks for your help guys.

 

:) :)

 

I don't think so.
Posted

Can you get to where you need to go by:

 

Login to your Admin

 

Click on Configuration

 

On that page change: Store Address and Phone

 

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

No, in there it just lists these....

 

Store Title World Purchasing Organisation

Store Name WorldPO

Email Address [email protected]

Email From [email protected]

Send Copies of Order Emails To [email protected]

Thumbnail Product Image Width 90

Thumbnail Product Image Height 100

Store Slogan Find Great Items at Huge Discounts

Country United Kingdom

Default Currency GBP

Display Prices with Tax

 

I did look at the ho.sql file and it lists all the above and also the STORE_NAME_ADDRESS, it just doesn't show it on this config page, it's as if the configuration.php file isn't drawing a long enough table....

 

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

Can you get to where you need to go by:

 

Login to your Admin

 

Click on Configuration

 

On that page change: Store Address and Phone

 

:unsure:

Posted

I wouldn't know how to change that.

 

Looks like you have a "template" (not stock osC).

 

That may be the reason.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I think yuo've hit it on the head there, I just found the PHPMYADMIN in my Control Panel and found the entry in there.

 

Now changed and all in good order.

 

Thanks again for your time.

 

:rolleyes: :thumbsup:

I wouldn't know how to change that.

 

Looks like you have a "template" (not stock osC).

 

That may be the reason.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...