Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing emails


justinswa

Recommended Posts

Posted

Antone know hoe to change the text that is in the emails that are sent out to confirm odders etc? can find this in any of the include files...

 

 

Thanks,

 

Justin

Posted

I'm still a newbie with PHP, but I learned a small trick to easily find what I need...

 

do a: grep -r 'text you want to search here' *

in your top catalog directory.

 

Replace 'text you want to search here' with a phrase from the text you want to edit.

 

Youl'' then find the file to edit.

 

esay-peasy! :)

Posted

Thanks,

 

That sounds like a good idea. When I try it on my server though it just hangs. Maybe they don't allow that command on my server - too big a load? Anyway, I foud from another thread that all the stuff I want to change is in /catalog/includes/languages/english. Not very easy to find it there though. Simple text files as email templates would be a lot easier....

Posted

Did you put in all 4 parts of the grep? If you type

grep -r 'Text'

It will hang as you describe. The problem is that if you don't include any files at which to look, it defaults to reading the standard input from the keyboard. You need the final . or *, like this:

grep -r 'Text' *

 

Good luck,

Matt

Archived

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

×
×
  • Create New...