Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Edit Text in Order Confirmation Email


  • You cannot reply to this topic
8 replies to this topic

#1 Sance21

  • Community Member
  • 7 posts
  • Real Name:G Taylor

Posted 17 October 2011, 13:32

I have a client that wants the text edited in an email confirmation that's sent out when an order is made.
What file do I need to modify to do this? I know it's either the "checkout_process or checkout_success" php file.

The client literally just wants one word changed in the email. How and what do I need to do to make this exact edit?

#2 multimixer

  • Community Sponsor
  • 3,594 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 17 October 2011, 14:19

Just wondering, how it comes that you take osCommerce projects and have clients if you don't know where and how to do a simple text change. No offense please, but your client could come himself to ask this kind of questions, and save his money.

Anyway, the file is catalog/includes/languages/english/checkout_process.php
Looking for a way to create your own osCommerce template ? click

#3 Sance21

  • Community Member
  • 7 posts
  • Real Name:G Taylor

Posted 17 October 2011, 16:27

Well, I've done sites in CSS, HTML, and Flash. I haven't had many clients that used OS Commerce or at least required heavy modification of it. I just want to know what I need to modify in the checkout_process file.

The editing of this store has now become mandatory .

#4 multimixer

  • Community Sponsor
  • 3,594 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 17 October 2011, 16:42

View PostSance21, on 17 October 2011, 16:27, said:

I just want to know what I need to modify in the checkout_process file.

The file to edit is NOT catalog/checkout_process.php but catalog/includes/languages/english/checkout_process.php

It will be easy to identify the part of text you want to change, eg if the text say "hello" and your client want "kuku", you replace just that

Did you open the file and didn't found the words you want to change?
Looking for a way to create your own osCommerce template ? click

#5 Sance21

  • Community Member
  • 7 posts
  • Real Name:G Taylor

Posted 17 October 2011, 18:59

This is all I see in the file:


<?php
/*
$Id: checkout_process.php,v 1.26 2002/11/01 04:22:05 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2002 osCommerce

Released under the GNU General Public License
*/

define('EMAIL_TEXT_SUBJECT', 'Order Process');
define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
define('EMAIL_TEXT_PRODUCTS', 'Products');
define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
define('EMAIL_TEXT_TAX', 'Tax: ');
define('EMAIL_TEXT_SHIPPING', 'Shipping: ');
define('EMAIL_TEXT_TOTAL', 'Total: ');
define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');
define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');
define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('TEXT_EMAIL_VIA', 'via');
?>


The client is saying: Orders need to say SHIPPED and not DELIVERED when we close the order out.

#6 gfasal

  • Community Member
  • 342 posts
  • Real Name:George
  • Gender:Male
  • Location:Sevilla, Spain

Posted 17 October 2011, 19:56

UHTML contribution for 2.3.1

copy and paste a nice looking html email into that - add some php defines in the laguage pages (helps for both none and htmls emails).

Then if you client expects more you can dress it up as you like.

the info on install also provides a good to understanding all email traffic.

http://addons.oscommerce.com/info/7855/v,23

hope this helps
OSC 2.3.1
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / ..Custom Admin Mods /

#7 outdoorgeek

  • Community Member
  • 34 posts
  • Real Name:George
  • Gender:Male
  • Location:South Africa

Posted 08 February 2012, 14:38

Hi

Like Sance21, I had the same question and downloaded and followed the instructions for UHTML. However, after uploading the files I see I have numerous checkout_process.php files located as indicated below:

/public_html/catalog
/public_html/catalog/includes/modules/UHmlEmails/Green
/public_html/catalog/includes/languages/english
/public_html/catalog/includes/languages/english/modules/UHtmlEmails/Standard

Being unfamiliar with editing files, I am not sure if I should have so many checkout_process.php files;
secondly, which are the ones I need to edit and add the lines as explained in the installation text of UHTML.

Please help.

#8 gfasal

  • Community Member
  • 342 posts
  • Real Name:George
  • Gender:Male
  • Location:Sevilla, Spain

Posted 15 February 2012, 22:45

have a look at my last post and follow the link - follow the instructions, I installed it some time ago with great results. I have now havily modded the addon with many custom features.

dont get me wrong tho, the addon is much much better than the stock osc version, but you will need to do some coding in both php and html to format your email.

sorry i carnt be more help.
OSC 2.3.1
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / ..Custom Admin Mods /

#9 outdoorgeek

  • Community Member
  • 34 posts
  • Real Name:George
  • Gender:Male
  • Location:South Africa

Posted 23 February 2012, 10:04

No problem, I got a coder to customise all my emails for me. Thx.