Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Error created after removing 'Check' from the moneyorder.php

    I removed the text that said 'check' from the moneyorder.php so it just says 'Money Order' rather than 'Check/Money Order' but now there is a problem and in the payment modules list in admin and when you go through checkout, it has MODULE_PAYMENT_MONEYORDER_TEXT_TITLE where it should say 'Money Order'.

    I don't remember making any serious changes other than just remove 'Check' from the title and twice in descriptions and I didn't think to make a copy of the original first so if I ruined it it was safe to go back.

    Can anyone please tell me what I can change in this to make it recognise the right title?



    define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Please make your money order payable to:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Please make your money order payable to:" . "\n\n" . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nMail your payment to:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.');?>

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Error created after removing 'Check' from the moneyorder.php

    I can't see anything in what you posted that should cause a problem.

    Do the other defines in that file show up properly ?

    What program did you use to edit the file ?

  3. #3
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: Error created after removing 'Check' from the moneyorder.php

    Thanks for taking the time to reply. I did it with notepad and when I saved it it squished up all of the text into a big block which worried me a bit but I couldn't remember what the free editor was called.

    I have since downloaded a trial of Dreamweaver.

    I just downloaded ZC again and got the original moneyorder.php out and replaced it fresh. Not sure why I didn't think of that hours ago.

    I will try and change it again being more careful this time with Dreamweaver.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Error created after removing 'Check' from the moneyorder.php

    A better editor choice would be Notepad++ http://notepad-plus.sf.net
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h configuration of Payment Module from Admin : check/MoneyOrder
    By devyani in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 6 Mar 2013, 09:31 AM
  2. Manual orders using check/moneyorder
    By bpoilspill in forum General Questions
    Replies: 12
    Last Post: 29 Feb 2012, 05:47 PM
  3. I need to modify the moneyorder.php language file
    By joejoejoe in forum Managing Customers and Orders
    Replies: 2
    Last Post: 8 Dec 2011, 03:16 AM
  4. PayPal Standard & MoneyOrder/Check
    By cactusrunning in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 14 Oct 2010, 08:38 PM
  5. Remove STORE_NAME_ADDRESS from moneyorder.php
    By Erik011 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Feb 2008, 07:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg