Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

email text says store_name


Dutch1

Recommended Posts

Posted

I have a problem finding where to change the text at the top of the email confirmation.

 

I found the file that calls it: orders.php (in admin) line 50

 

$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . '.........................

 

but I tried to change it and it throws an error. Which file does it call it from.

 

My stupid windows search can't find a word in a file and google can find millions on the web in seconds.

 

Is there another program for finding text in files, other than google desktop?

Posted

Hello,

 

I think that you are looking for catalog/admin/includes/languages/english(or other)/orders.php. This is where the text of the email order confirmations are found.

 

The store name itself is taken from the configuration page in your admin area.

You will never learn if you don't try. And boy am I trying....!

Posted
Hello,

 

I think that you are looking for catalog/admin/includes/languages/english(or other)/orders.php. This is where the text of the email order confirmations are found.

 

The store name itself is taken from the configuration page in your admin area.

 

It's not there.

I have added the line:

 

define('STORE_NAME', 'My Store Name');

 

to a few files and no change.

 

And yes I did put my store name in the configure My Store page in admin

 

Still no luck

Posted

I don't believe it's a defined constant.

 

I think it's stored in the database, probably [configuration] table.

 

Check out oscommerce.sql in the install directory for more direction.

 

Note though that this should be coming from your configuration via admin; if it isn't then something awry is going on, perhaps connecting with the wrong database.

Posted

Hi there,

you need to alter the file:

 

catalog/checkout_process.php

 

find this line (222 on my file)

// lets start with the email confirmation

 

Ckeck out the knowledge base article: http://www.oscommerce.info/kb/osCommerce/C...-Mails_Sent/182

 

Hope that helps.

 

Claire

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Posted
Hi there,

you need to alter the file:

 

catalog/checkout_process.php

 

find this line (222 on my file)

// lets start with the email confirmation

 

Ckeck out the knowledge base article: http://www.oscommerce.info/kb/osCommerce/C...-Mails_Sent/182

 

Hope that helps.

 

Claire

 

I guess that should have been the clue. store_name was in lower case.

 

I changed it to upper case STORE_NAME and that fixed it.

 

Thanks, Dutch1

Archived

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

×
×
  • Create New...