Jump to content



Latest News: (loading..)

- - - - -

How edit welcome email sent to customers


This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1   superdragon

superdragon
  • Members
  • 10 posts

Posted 28 March 2012 - 04:22 PM

Hello.  1/3 to 1/2 my customers can not figure out how to download their products after purchase.  os commerce does not make the process intuitive.  I've created a instruction page on my webpage to help customers with that.  I figure the best place to provide that link to the customer is in the welcome email that oscommerce automatically sends to the customer.  Can anyone tell me which file to modify to edit this automatically generated email?

#2   superdragon

superdragon
  • Members
  • 10 posts

Posted 28 March 2012 - 05:37 PM

  • I'm referring to version 2.3.1


#3   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,081 posts

Posted 29 March 2012 - 07:56 AM

Alter your checkout_process.php page to add to the email.

Search for

// lets start with the email confirmation
  $email_order

alter it to look like

$email_order = EMAIL_TEXT_DOWNLOADS . "\n" .
EMAIL_SEPARATOR . "\n" .
STORE_NAME . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

Then in your includes/languag/english/checkout_process.php add

define('EMAIL_TEXT_DOWNLOADS', ' Add your text here');

I had to do the same for my store, and i still get people saying they cannot download products.  I added text to the actual checkout_sucess page and the email that is sent after completion.  Best of luck.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.