Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FAQ- How do I make my Browser say MY STORE


Guest

Recommended Posts

Open the catalog/includes/languages/MY LANGUAGE/MY LANGUAGE.php file in your favorite text editor. (MY LANGUAGE being any or all of the languages you will use in your shop.)

 

On approximately line 44 you will find this definition:

 

// page title

define('TITLE', 'osCommerce');

 

Change the osCommerce to the name of your shop. Be sure to leave the single quotes. Save the file and upload it back to the proper directory. Repeat the step for each of the languages you are using.

Link to comment
Share on other sites

  • 1 month later...

Hi Kim,

 

I looked for that path to make the change, but can only find

 

catalog/includes/languages/english/

 

Which file in that directory do we need to make the change?

 

 

Thanks.

Link to comment
Share on other sites

The file is located at catalog/includes/languages/MY LANGUAGE.php. In other words english.php in not in the english directory, it's in the languages directory.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Paul,

 

Thanks for the correction.....I must have had MYLANGUAGE on the brain when I put that together.

Link to comment
Share on other sites

  • 5 months later...

:huh:

 

Aparently something bombed by just editing this line - now my English.php file is crashing. I get:

 

PHP Parse error: parse error, unexpected T_STRING in D:\SiteData\webppliance\conf\domains\slackline\Inetpub\wwwroot\php\catalog\includes\languages\english.php on line 79

 

 

Ideas? I used text pad for editing.

Link to comment
Share on other sites

When I change anything in english.php (even if it's just swapping out the osCommerce title with my own, I get this error when trying to add items to the shopping cart:

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/webstore/public_html/catalog/includes/languages/english.php:336) in /home/webstore/public_html/catalog/includes/functions/general.php on line 29

 

I have, of course, left the single quote's, and done nothing other than changing the word oscommerce, to webstore kits.

 

Thanks in advance for your time! :D

Link to comment
Share on other sites

  When I change anything in english.php (even if it's just swapping out the osCommerce title with my own, I get this error when trying to add items to the shopping cart:

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/webstore/public_html/catalog/includes/languages/english.php:336) in /home/webstore/public_html/catalog/includes/functions/general.php on line 29

 

 

i have just got a hosting account that uses cpanel as the admin interface and get the same problem with every php file i edit! the cpanel file editor (at least the version on my host) adds 2 blank lines to the end of each file when editing...

so, i'd suggest scrolling to the end of each file you edit and delete any blank spaces, or if you can ssh into your host and use something like pico to edit the files...

Link to comment
Share on other sites

  • 1 year later...
I have already changed the title, however in google it still appear as oscommerce instead of e-friendsshop.com

 

This is the result from Google.. (The second result is just my personal website.)

 

osCommerce - [ Translate this page ]

Gracias por visitar e-Friends Shop, una tienda peruana hecha por peruanos donde encontraras "polos" manufacturados en gamarra con el mejor algodon pyma del ...

e-friendsshop.com/catalog/ - 20k - Cached - Similar pages

 

e-friends

... solo escribo para invitarlos a www.e-friendsshop.com una pagina peruana hecha por peruanos donde encontraras polos de algodon de la mejor calidad ...

www.angelfire.com/linux/ivanrojas/ - 11k - Cached - Similar pages

 

 

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...