Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I broke my success page


Curtis

Recommended Posts

I just started playing with OSC this morning and pretty much don't know much about anything so could you help me fix the page I broke? Here is the only chunk of code on that page that I messed with it should be somewhere around where it says FILENAME_CONTACT_US

 

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! Your products will be shipped out very soon.');

define('TEXT_NOTIFY_PRODUCTS', Keep me informed on the status of my order:');

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'</a>.');

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

Link to comment
Share on other sites

Restore your back up of the page you were editing and then make sure you escape any apostrophes, and only change the wording between the single quotes in the file.

 

define('NAVBAR_TITLE_1', 'Only change this area.');

define('NAVBAR_TITLE_2', 'If you're using an apostrophe, use a backslash.');



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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...