Pixxi Posted March 6, 2004 Share Posted March 6, 2004 Ok I need a bit more help First of all I cannot edit any of the english.php files which I know only makes the text a bit more understandable for the administrator, but If I even open and save those files without making any mods I get a parse error so I will leave those well alone. What text editor are you using? If you use a word processor you may be getting invisibles in the php file when you save it. Can you post the parse error(s) here so we can see? The orders.php returned errors when I followed the readme, I restored the original and it works but fails to display the switch cvv and issue number which I will require to process as customer not present. Which orders.php do you mean? There are 2: one in catalog/admin/includes/languages/english/orders.php and one in catalog/admin/orders.php In the ... english/orders.php one, you have only to insert the defines like this in the middle somewhere and save the file (although, once again, your text editor may be causing you problems if it gives you an error once you've saved it): define('ENTRY_CUSTOMER', 'Customer:'); define('ENTRY_SOLD_TO', 'SOLD TO:'); define('ENTRY_DELIVERY_TO', 'Delivery To:'); define('ENTRY_SHIP_TO', 'DELIVER TO:'); define('ENTRY_SHIPPING_ADDRESS', 'Delivery Address:'); define('ENTRY_BILLING_ADDRESS', 'Invoice Address:'); define('ENTRY_PAYMENT_METHOD', 'Payment Method:'); define('ENTRY_CREDIT_CARD_TYPE', 'Credit Card Type:'); define('ENTRY_CREDIT_CARD_OWNER', 'Credit Card Owner:'); define('ENTRY_CREDIT_CARD_NUMBER', 'Credit Card Number:'); define('ENTRY_CREDIT_CARD_EXPIRES', 'Credit Card Expires:'); // BMC CC Mod Start define('ENTRY_CREDIT_CARD_START', 'Credit Card Start Date:'); define('ENTRY_CREDIT_CARD_ISSUE_NUMBER', 'Credit Card Issue Number:'); define('ENTRY_CREDIT_CARD_CVV_NUMBER', 'Credit Card CVV Number:'); // BMC CC Mod End define('ENTRY_SUB_TOTAL', 'Sub-Total:'); define('ENTRY_TAX', 'Tax:'); define('ENTRY_SHIPPING', 'Shipping:'); define('ENTRY_TOTAL', 'Total:'); define('ENTRY_DATE_PURCHASED', 'Date Purchased:'); define('ENTRY_STATUS', 'Status:'); define('ENTRY_DATE_LAST_UPDATED', 'Date Last Updated:'); define('ENTRY_NOTIFY_CUSTOMER', 'Notify Customer:'); define('ENTRY_NOTIFY_COMMENTS', 'Append Comments:'); define('ENTRY_PRINTABLE', 'Print Invoice'); In the catalog/admin/orders.php, the changes there are very simple again and shouldn't cause you any problems ... can you post the error you get, and the section(s) of code you've replaced with some of the surrounding code? Then again there are also two files named 'order.php' (note the 's' missing on the end) - one in catalog/includes/classes/order.php, and one in catalog/admin/includes/classes/order.php. Do you have the right mod in the right file? ... do you know why the email sent to the store owner is messed up, what part of the readme file mods changes the email ?? The email is constructed and sent in catalog/checkout_process.php, but that file also uses ('requires') catalog/includes/classes/order.php (where the customer's order is built up into an array) so you need to check how you've added the mod to both of those files. Can you post the section of code in checkout_process.php where the email is built up (from '// lets start with the email confirmation' down to the end of the file)? I suppose if someone can send me acopy of their orders.php file that is working and displaying the cvv and switch issue numbers on ms2.2 I will be eternally gratefull I've modded mine quite a bit, so that may confuse you more :blink: so maybe better if you check those files (and your text editor...?) and post the sections you've changed and the errors you're getting. Otherwise, maybe someone else can post their file for you (when they know which one you want) . :rolleyes: Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.