Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Simple Question - Edit default Index page text


Guest

Recommended Posts

/catalog/includes/languages/[your language]/default.php

 

HTH

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Link to comment
Share on other sites

Hi

 

Thanks for the rply ..but there is no text on

 

catalog/includes/languages/[your language]/default.php

 

The text I want to edit it the default:

 

This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

 

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS.

Link to comment
Share on other sites

The text I want to edit it the default:

 

This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

 

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS.

 

In that case you want to look in /catalog/includes/languages/[your language]/default.php

"It's a damn poor mind that can only think of one way to spell a word."

-- Andrew Jackson

Link to comment
Share on other sites

Well - I guess it is time again for the hands-on guidance ;-)

 

You are talking english, so you would like to change the file default.php, found in the directory catalog/includes/languages/english/default.php

 

We open this file and notice this entry right at the beginning (line 13 to be exact):

 

define('TEXT_MAIN', 'This is a demonstration online-shop, <b>any products purchased will not be delivered nor billed</b>. Any information seen on these products are to be treated fictional.<br><br>If you wish to download this sample shop, or to contribute to this project, please visit the <a href="http://oscommerce.com"><u>support site</u></a>. This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');

 

If you want to change the german text, you woul edit catalog/includes/languages/german/default.php. In case you want to change the spanish text, you would edit catalog/includes/languages/espanol/default.php.

 

As I didn't knew at the moment I posted my first answer WHICH language you want to change I used the syntax catalog/includes/languages/[your language]/default.php. Where [your language] can be either english, german or espanol.

 

Everything solved now? ;-)

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...