Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't get rid of this


trendyfashion

Recommended Posts

How come I cannot comment out or remove this? If I do it is still there and just changes the text to 0rder_history_info. Its in catalog/includes/english/account.php

 

define('OVERVIEW_TITLE', 'Overview');

define('OVERVIEW_SHOW_ALL_ORDERS', '(show all orders)');

define('OVERVIEW_PREVIOUS_ORDERS', 'Previous Orders');

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

The page catalog/includes/english/account.php just defines what each prase will display as when account.php is brought up. (Or another page that views this one as the english file). If you want to remove something from displaying you will need to modify the page that actually displays which is catalog/account.php. Find the line you are trying to remove and comment that out or delete depending on your needs. For example, if you wanted it to not display the word 'Overview' you would comment out the phrase including 'OVERVIEW_TITLE'. If you would like to remove the phrase 'show all orders', you would coment out the phrase including 'OVERVIEW_SHOW_ALL_ORDERS' and so on.

Remember... Pillage BEFORE you burn!

Link to comment
Share on other sites

Thank you very much Wendy...I am always in the wrong folder or file on things like this. In the catalog/account.php I removed this block..just in case someone else might have this question. Now when they go to my account I think my new way is alot cleaner looking and still provides all account options.

 

<?php

}

 

if (tep_count_customer_orders() > 0) {

?>

<tr>

<td><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><b><?php echo OVERVIEW_TITLE; ?></b></td>

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '"><u>' . OVERVIEW_SHOW_ALL_ORDERS . '</u></a>'; ?></td>

</tr>

</table></td>

</tr>

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...