Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

front page


Recommended Posts

hi. where can i get the default copy of this file?

osCommerce / catalog / includes / languages / english / index.php

or maybe you can help me with this one.




i erased the main text it had, and when i replaced it with my own i get a parse error.

i want to add a very long article where it says "terms" but if i add more than one sentence i get an error!



 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License

define('TEXT_MAIN', '<b>Terms</b><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>Low Prices</b><br><br>check them out!');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'What\'s New Here?');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');



why is it when i put more than one sentence i get a parse error when viewing the page??

how can i make it so that i can type unlimited text?

Link to comment
Share on other sites

Hi. I'm having the same problems as you and the same question....I have the "index.php" file and this is the only thing I have been editting - but now I have again uploaded the "orginional" index.php file and now my main page is blank. It doesn't show up at all. I hope someone can help!!!







Link to comment
Share on other sites

well the page works with the code i have there.

and i can add one more sentence.... afterwards


but if i add 2 sentences then i get an error page. saying somehting about a t_string parse error or something.

on the original page it had alot of text... either way this was installed with my host i didnt have to install it myself.

so i dont have the original files.


otherwise i might look at it some more.

can someone look at that code i have there and possibly tell me what i need to do to make it work?


otherwise, link me to the original default file so i can edit it from a fresh start?



Link to comment
Share on other sites


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

  • Create New...