New Zenner
- Join Date:
- Mar 2007
- Posts:
- 12
- Plugin Contributions:
- 0
Is there a way to have Money Order only?
I would like to accept Money Order bot NOT checks. Is there someplace I can remove the wording?
Views: 1,183
New Zenner
I would like to accept Money Order bot NOT checks. Is there someplace I can remove the wording?
Zen Follower
In the file includes/languages/english/modules/payment/moneyorder.php
Line 22 or so: : define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
And
includes/modules/payment/moneyorder.php
Line 100 or so: : $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Check/Money Order Module', 'MODULE_PAYMENT_MONEYORDER_STATUS', 'True', 'Do you want to accept Check/Money Order payments?', '6', '1', 'zen_cfg_select_option(array('True', 'False'), ', now());");
Oba-san
I would not change the database ...
Only change the text file as that is all the customer sees or needs to see ...
Changing the database is what you see ... later, you want to discuss something and you are talking oranges and we are talking apples and all are now confused ... :blink:
New Zenner
Thanks. I did that but Check/Money Order is still showing up during checkout
index.php?main_page=checkout_payment
I am wondering where to find this to change it.
Oba-san
Look first for this file:
includes/languages/english/modules/payment/moneyorder.php
Then look to see if you have the file in your templates and overrides directory:
includes/languages/english/modules/payment/your_template_dir/moneyorder.php
The one in your template dir is actually the better choice for the changes so it will not be overwritten on the next upgrade ...
You will also want to check the other defines in the same file that referrence check or money order ...
Tell staff why this post should be reviewed.