osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Editing text in order confirmation email

This is a discussion on Editing text in order confirmation email within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I have been searching for this, but I can't seem to find the answer. Where do I edit what a ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-02-2008, 05:32 AM
Member
 
Join Date: Oct 2008
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
netviper is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 12-02-2008, 10:16 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default Re: Editing text in order confirmation email

See in the language files for checkout_success.php for some of the text used...
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-04-2008, 05:25 AM
Member
 
Join Date: Oct 2008
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
netviper is on a distinguished road
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-06-2008, 10:48 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to jpf For This Useful Post:
Grumpy Ole Fart (12-20-2008)
  #5  
Old 01-31-2009, 04:54 AM
Active Member
 
Join Date: Jun 2008
Posts: 184
Thanks: 17
Thanked 3 Times in 3 Posts
Rep Power: 2
trochia is on a distinguished road
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-01-2009, 07:47 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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.
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-01-2009, 07:53 AM
Active Member
 
Join Date: Jun 2008
Posts: 184
Thanks: 17
Thanked 3 Times in 3 Posts
Rep Power: 2
trochia is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-01-2009, 09:57 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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.
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-02-2009, 12:36 PM
met00's Avatar
osCMax Development Team
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 639
Thanks: 12
Thanked 111 Times in 102 Posts
Rep Power: 10
met00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to all
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.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 02-02-2009, 02:51 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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.
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT -8. The time now is 08:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design