Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STORE_NAME


galto

Recommended Posts

This is a very simple question but I couldn't find it already posted nor did I find an answer for it.

 

But how do I change STORE_NAME? I looked everywhere and I can't see where it's defined.

 

I need to change the value since STORE_NAME translates to the "oscommerce" name

 

Thanks,

George

Link to comment
Share on other sites

Look for

 

// page title

define('TITLE',

 

in your includes/languages/what ever your language.php file. In mine its about line 40 - 50.

 

Change oscommerce to the name of your store.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

That one is not it. That is just changing the TITLE which I have already done.

 

 

For example, If I use the My Account link, I get the text in the left saying the following:

 

I am a new customer.

 

By creating an account at osCommerce you will be able to shop faster, be up to date on an orders status, and keep track of the orders you have previously made.

 

The text that displays there is controlled by include/languages/english/login.php. In that file, the TEXT_NEW_CUSTOMER_INSTRUCTION is defined as follows:

define('TEXT_NEW_CUSTOMER_INTRODUCTION', 'By creating an account at ' . STORE_NAME . ' you will be able to shop faster, be up to date on an orders status, and keep track of the orders you have previously made.');

 

So all I'm tryng to do is globally change the value of STORE_NAME to my site name (there's other areas that are also calling STORE_NAME). But I just can't find where STORE_NAME is defined - that's the help I need.

Link to comment
Share on other sites

STORE_NAME is pulled from the database configuration table

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

STORE_NAME is pulled from the database configuration table

 

 

Please translate for this complete newbie *grins* Where/what is the "database configuration table"?

I need to be able to change the STORE_NAME also.

 

Thanks in advance for your help!

 

Barb

Link to comment
Share on other sites

Go to Administration, change out where it says osCommerce in the store name, after that it should populate on down the rest of the site. You might also change where Harald owns the store too.

Link to comment
Share on other sites

Please translate for this complete newbie *grins* Where/what is the "database configuration table"?

I need to be able to change the STORE_NAME also.

 

Thanks in advance for your help!

 

Barb

 

 

You can either go straight into the database into the CONFIGURATION TABLE and change the values in there for Store Name, Store Owner, etc... Here is an excerpt of what's in that table:

 

INSERT INTO `configuration` (`configuration_id`,`configuration_title`,`configuration_key`,`configuration_value`,`configuration_description`,`configuration_group_id`,`sort_order`,`last_modified`,`date_added`,`use_function`,`set_function`) VALUES

(1,'Store Name','STORE_NAME','osCommerce','The name of my store',1,1,NULL,'2005-10-08 15:00:02',NULL,NULL),

(2,'Store Owner','STORE_OWNER','Harald Ponce de Leon','The name of my store owner',1,2,NULL,'2005-10-08 15:00:02',NULL,NULL),

(3,'E-Mail Address','STORE_OWNER_EMAIL_ADDRESS','root@localhost','The e-mail address of my store owner',1,3,NULL,'2005-10-08 15:00:02',NULL,NULL),

(4,'E-Mail From','EMAIL_FROM','osCommerce <root@localhost>','The e-mail address used in (sent) e-mails',1,4,NULL,'2005-10-08 15:00:02',NULL,NULL),

(5,'Country','STORE_COUNTRY','223','The country my store is located in <br><br><b>Note: Please remember to update the store zone.</b>',1,6,NULL,'2005-10-08 15:00:02','tep_get_country_name','tep_cfg_pull_down_country_list('),

(6,'Zone','STORE_ZONE','18','The zone my store is located in',1,7,NULL,'2005-10-08 15:00:02','tep_cfg_get_zone_name','tep_cfg_pull_down_zone_list(');

 

But probably the preferred way is to login into the backend admin module and make the changes directly there. I'm currently not using the backend of osCommerce so cannot really walk you through that.

Link to comment
Share on other sites

OH! The Configuration Section of the Admin panel? So those sections are called "tables" ? Sorry - still learning the "lingo" *grins*

If so, I did those changes the first day. Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...