HELP! I Modified Orders.php and Messed Up!
I foolishy didn't keep a copy of how it looked before I changed it. This is how it looks now with my changes. Everywhere there is red there are changes:
define('EMAIL_TEXT_SUBJECT', 'Order Processed - Order ');
define('EMAIL_TEXT_ORDER_NUMBER', 'Your order has been processed and is now in the warehouse. Order Number:');
define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
define('EMAIL_TEXT_COMMENTS_UPDATE', '');
define('EMAIL_TEXT_STATUS_UPDATED', '');
define('EMAIL_TEXT_STATUS_LABEL', ");
define('EMAIL_TEXT_STATUS_PLEASE_REPLY', 'We'll send you an email with tracking information as soon your package ships. Please reply to this email if you have any questions. Thank you for you order.' ."\n");
Anyway, I can't get in to look at my orders now. I can get into Admin, but if I click on Orders, I get an internal server error the website has a programming error.
I modified myadmin/includes/languages/english>orders.php
Re: HELP! I Modified Orders.php and Messed Up!
1. You can always get the original Zen Cart files from the download link on the zen-cart.com home page. Also at www.zen-cart.com/getit
2. You can't stick single-quote (apostrophe) symbols inside strings already delimited with single quotes.
ie: 'We'll send you...' is invalid.
Safer options (any of these will work):
- 'We will send you...' (avoid your apostrophe altogether by skipping the contraction and spelling out the actual word you mean in plain english)
- "We'll send you..." (outer quotes are now double quotes)
- 'We\'ll send you...' ("escape" the apostrophe by prefixing it with a backslash so that its normal syntactical meaning is reverted back to its literal meaning)
Re: HELP! I Modified Orders.php and Messed Up!
When I look at this folder (orders.php) from from a fresh d/l of zen cart the contents are all over the place, not neatly situated like they usually are inside the folder . I d/l this twice with the same result. Why is that?
Re: HELP! I Modified Orders.php and Messed Up!
Your editor or FTP program must be misinterpreting line-endings incorrectly.
Re: HELP! I Modified Orders.php and Messed Up!
Re: HELP! I Modified Orders.php and Messed Up!
Thank you for fast reply!