Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can someone post code for index.php file please?


raphaela28

Recommended Posts

I'm having problems with the includes/languages/english/index.php I went in to try to add some text for the main page and now I'm getting parse error problems. No matter what I change I can't get the shop to open anymore (I heard this is a problem with this file? It creates its' own errors?) so, can someone please post the PROPER code for this file so I can cut and paste it and start all over again.

 

 

AAAAAAARRRGGGGGGHHHHH!! :D

Link to comment
Share on other sites

I've been there......make a copy first..... i know preaching to the Choir, from the Choir.....

 

<?php

/*

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

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2006 Way Out West Entertainment

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<p align="center"><b>Brought to you by <i>Way Out West Entertainment & Beyond Rodeo</i></b></p>');

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', '');

define('TABLE_HEADING_TITLE', 'New Available Merchandise');

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', 'The Sale Barn - Now Open');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

 

 

You should only have to change your TEXT MAIN and HEADING TITLE. I recommend editing off line.

Hope this helps....

James

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...