Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error on checkout success page


signs

Recommended Posts

Posted

I should have left well enough alone, but I wanted to change the message on the checkout success page and this is the error message I am getting:

 

Parse error: parse error, unexpected T_STRING in /home/signsint/public_html/ecommerce/os/catalog/includes/languages/english/checkout_success.php on line 20

 

Here's the code as it appears after I edited it:

 

<?php

/*

$Id: checkout_success.php,v 1.2 2004/08/25 22:40:07 akhan Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE_1', 'Checkout');

define('NAVBAR_TITLE_2', 'Success');

 

define('HEADING_TITLE', 'Your Order Has Been Processed!');

 

define('TEXT_SUCCESS', 'Your order has been successfully processed! If your item requires a proof it will be sent to the email you provided within 2 days. Once proof is approved your item will be made and shipped within 7 days.');

define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:');

define('TEXT_SEE_ORDERS', 'You can view your order history by going to the <a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">'My Account'</a> page and by clicking on <a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">'History'</a>.');

define('TEXT_CONTACT_STORE_OWNER', 'Please direct any questions you have to the <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">store owner</a>.');

define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with us online!');

 

define('TABLE_HEADING_COMMENTS', 'Enter a comment for the order processed');

 

define('TABLE_HEADING_DOWNLOAD_DATE', 'Expiry date: ');

define('TABLE_HEADING_DOWNLOAD_COUNT', ' downloads remaining');

define('HEADING_DOWNLOAD', 'Download your products here:');

define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at '%s'');

?>

 

 

Can anyone see the error? I don't know what I messed up, and should have left well enough alone I guess. Short of someone helping me to fix this the way I want it, does anyone have the original code as I neglected to save a copy. :blush:

 

Thanks,

Jeri

Posted

you are missing the:

 

\'My Account\'

 

and..

 

\'History\'

 

just add the '\' (without the '')

 

Luke Ray

Archived

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

×
×
  • Create New...