PDA

View Full Version : coding help


Redrider112
11-30-05, 03:43 PM
this should be an easy one for someone who knows php. I am good with HTMl but can't seem to figure this stuff out.

In my checkout sucess I am getting a little box at the top of thank you we appreciate your business. It says TEXT_SUCCESS.

I did edit the code and I must have messed something up. Here it is:

define('NAVBAR_TITLE_1', 'Checkout');
define('NAVBAR_TITLE_2', 'Success - Thank You');

define('HEADING_TITLE', 'Thank You! We Appreciate your Business!');

define('TEXT_INFORMATION', '');


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="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">My Account</a> page and by clicking on view all orders.');
define('TEXT_CONTACT_STORE_OWNER', 'Please direct any questions you have to <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">customer service</a>.');
define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with us online!');

define('TABLE_HEADING_COMMENTS', '');

define('TABLE_HEADING_DOWNLOAD_DATE', 'Link expires:');
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\'');

define('TABLE_HEADING_DOWNLOAD_FILENAME','Product Download:');
define('TEXT_YOUR_ORDER_NUMBER', '<strong>Your Order Number is:</strong> ');
?>

pureconcepts
11-30-05, 05:43 PM
I would guess that the line defining TEXT_SUCCESS got removed somehow. Especially, if it is printing that to the screen in that format. Furthermore, I don't see it in the code you provided above.

tacimala
12-1-05, 10:31 AM
I agree with pureconcepts. Looking at my includes/languagues/checkout_success.php file it appears that you changed define('TEXT_SUCCESS', ''); to define('TEXT_INFORMATION', '');.

Here is what I currently have for my TEXT_SUCCESS:

define('TEXT_SUCCESS', 'Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days.');

Replace the define('TEXT_INFORMATION', ''); with the code I pasted above and edit the content in that to your liking and you should be all set.

Redrider112
12-1-05, 04:23 PM
That did the trick...thanks for the help!