Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index Page Text ?


Guest

Recommended Posts

hi,

 

I am having a little trouble editing the index.php page text.

 

It displays fine, but i get the following after my text: "osCommerce 2.2-MS2"

 

Code below:

 

<?php

 

define('TEXT_MAIN', 'Welcome to the shopping cart. To order vouchers and merchandise please choose from the categories and add the items to your basket<font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');

 

 

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', 'Cameron Flights Secure Booking');

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

}

?>

 

 

Can anyone see what i have done wrong?

 

Cheers

 

Neil

Link to comment
Share on other sites

<font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>

is the code that puts the oscommerce version on your page.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I tried removing that for ages, but it wouldn?t fix it. I then got SQL errors...

 

Just done it now and it worked fine!!! Perhaps I was having one of those moments.

 

 

Cheers

 

 

Neil

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...