Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 10 of 10

Thread: Editing text in order confirmation email

  1. #1
    netviper
    Guest


    Default Editing text in order confirmation email

    I have been searching for this, but I can't seem to find the answer. Where do I edit what a use gets when they place an order?

    Please help.

  2. #2
    jpf
    Guest


    Default Re: Editing text in order confirmation email

    See in the language files for checkout_success.php for some of the text used...

  3. #3
    netviper
    Guest


    Default Re: Editing text in order confirmation email

    Does that change the text on the order complete page or does it change the text on the email that goes out to the customer?

    I changed it, but honestly it doesn't show up in either place so I am really confused.

    Thanks,

  4. #4
    jpf
    Guest


    Default Re: Editing text in order confirmation email

    Sorry: /language/english/checkout_process.php

    define('EMAIL_TEXT_SUBJECT', 'Order Process');
    define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
    ....


    This is formated and setup in about line 290 onwards in catalog/checkout_process.php

  5. #5
    trochia
    Guest


    Default Re: Editing text in order confirmation email

    1) Please do not think I am thread hijacking

    2) This question goes along with just simply changing subjuct as I wouls alo like to include "more text" in the body of the new order

    3) I would like to just create a NEW FILE, and INCLUDE, so that the user can edit this (single file) without having to get lost in a bunch of php code and possibly screw things up.

    4) What file is used to process the e-mails for such (new order e-mail)

    Thank-you,

  6. #6
    jpf
    Guest


    Default Re: Editing text in order confirmation email

    In order to do what your asking - mean removing a whole lot of code to a new file - changing all the variables - adding and modifying a ton of stuff for all your emails.

    There is no problem in changing and adding to stuff in the email with what is already there.

  7. #7
    trochia
    Guest


    Default Re: Editing text in order confirmation email

    Thank-you for the reply, but why would you think...something that "most users" will need to modify (or edit)...that it would be just able to pull this data (information), from the database...instead of manually changing many times...in many files...that all do the same thing?

    Thx again for the question-response.

  8. #8
    jpf
    Guest


    Default Re: Editing text in order confirmation email

    Sorry? Did I say "most users"?

    Most users will modify a good amount of stuff in the admin - like setup and intro pages. Then add there items and modify them etc.... on a monthly, weekly or daily basis.

    However for CUSTOMIZATION that is for "most users" is done as "as needed" or on first setup. "Most user" don't do this on a constant bases.

    In order to customized you store - edit your template and language files - just like anything else - including automated emails.

    Your Email format/setup - is in the template folders and the text is in the language folders. Just like the other 99% of the store.

    What your asking is changing how osc treats languages and text display/generation - so to change HOW OSC (and thus oscmax) treats and generates Email. Then add a interface to change/edit all the automated emails that osc uses - need a whole lot of changing. For something that "most users" NEVER do and a few change maybe ONCE when setting and customization there store ---or possible TWICE in the life of the store.

    Would it not be easier just to change the files ONCE in the languages folders? Just like any other static text displayed in the store...

    Why would there be a need to put the static setup and static text for multi-languages for several different types of email into a dynamically driven database system then create a complicated system in order to manage something maybe once..... Then in order to generate a 10 line email - you want to put that though SQL - process that to put a few pieces of data?

    We don't even do that with the mainpage display.

    With Hundreds of Thousands of sites - it is the FEW not the MANY that edit the minor things like emails - cause they are generic enough for MOST people (but not all). If they do edit it is often minor and only a few files of the hundreds of language files which contain several thousands of saying and lines used though osc.

  9. #9
    met00
    Guest


    Default Re: Editing text in order confirmation email

    JPF, what he is asking for is a mod called "e-mail changes" in the admin. This would allow him to set up a store for a customer and then turn it over to the customer with no support other than to say "you can use that admin to change everything the customer sees."

    So, when the system sends an e-mail for recover carts, you would be able to edit that e-mail via the admin. The same for signup/welcome and checkout. I believe those are the standard e-mails that come with OSCMax.

    As you point out, there are many users of the product and some of them set up stores for clients as a one-time deal. The clients don't know what secure shell is, have no idea what a template or language directory are and just want to operate an on-line working store. But, at the same time they also want to be able to change their e-mails and personalize them.

    So, the answer is... you will have to modify the code where it sends the e-mail to call a module called sendstoremail.php. That file will take whatever is sent over in content from the database and wrap it with a front and/or back text that is created by the store owner in an admin component and then send the e-mail. One new file on the front (customer side). One new file on the admin (to allow them to create and modify the text). Changes in three locations (where e-mail is sent to the store customer) to call the new module. I would put the new e-mail text in a new table in the database, so a new database table would have to be created and that would just about do it for the module.

  10. #10
    jpf
    Guest


    Default Re: Editing text in order confirmation email

    Quote Originally Posted by met00 View Post
    JPF, what he is asking for is a mod called "e-mail changes" in the admin.
    I am fully aware of what he is looking for - however is there a mod ? If not - it means ripping the system appart - make a new interface - just to change a few lines of text.


    There is already a simple system to edit any language file - email or whatever - it called "Define Language" or even can use "File Manager" under the tools menu.

Similar Threads

  1. email confirmation order
    By valandre64 in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 07-23-2006, 09:51 PM
  2. body of order email confirmation message
    By chrismole in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 06-08-2005, 09:10 PM
  3. Product attributes not showing in order confirmation email
    By melfalcon15 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-25-2005, 05:03 AM
  4. order confirmation email incomplete
    By evileddie in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 04-02-2005, 07:24 PM
  5. Order confirmation email?
    By peter in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-19-2003, 04:50 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •