Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

osCommerce Information PLEASE HELP

Recommended Posts

I am very new to this and I am working on my oscommerce store. I have figured out how to do the categories and catalog however I have no idea how to get rid of the oscommerce information on the main page nor do I know how to add information to the other pages ie; shipping & returns, privacy notice, consitions of use or the contact us page.


I have read tons of information regarding changing the front page but I don't get it. I have changed all the information in the my configuration but th front page is not showing my store name and I can not locate where I am suppose to put the all my information. There is a lot of info on changing html's but I don;t know where to find that either???


Can someone please help. I am so confused and as I have over a 1000 items to list I do not want to continue until I can figure thi out. Does anyone know if there is a step by step on how to change the main page to your own and add your own information?


Thank you in advance.

Link to comment
Share on other sites

look in the catalog / includes / languages / English folder (or your language) you will see a set of duplicated files there

index, shipping, privacy, conditions etc ...

for the index page you need to edit the bits that start


with the first install it looks like

define('TEXT_MAIN', 'This is a default setup of osCommerce Online Merchant. Products shown are for demonstrational purposes. <b>Any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/' . $language . '/' . FILENAME_DEFAULT . '</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->' . ucfirst($language) . '->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>\');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define(\'TEXT_MAIN\', \'\');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</u></a> site.<br><br>Support is available at the <a href="http://www.oscommerce.com/support" target="_blank"><u>osCommerce Support Site</u></a>.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support site of osCommerce</u></a>. This shop is running on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');


delete all of this so it looks like this


define('TEXT_MAIN', '');


add your text between the two '' like below


define('TEXT_MAIN', 'your text goes here');

make sure you leave the single quotes and );

Sometimes you're the dog and sometimes the lamp post


My Contributions

Link to comment
Share on other sites

Thank you so much for your response. I am feeling really stupid now as I am not sure where you are wanting me to look.When I click on the catalog from the oscommerce blue administration page, it takes me to the website catelog and all I see there is the following;



Product Attributes




Products Expected


Am I looking in the wrong place? I know how to make changes in html but I don't know where they are exactly. I have never tried to build a website so please bear with me all.


Thank you again in advance

Link to comment
Share on other sites


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

  • Create New...