CRE Loaded Community

Banner


Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: New Customer Text
PostPosted: Wed Sep 01, 2010 9:10 am 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
When a new customer is added, an email is sent to them.

mine says MAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXTEMAIL_CONTACTEMAIL_WARNING

Where do I change this to my own text and who its from. I want my store name not my name.

Thanks a bunch


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Wed Sep 01, 2010 4:50 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
davidm wrote:
When a new customer is added, an email is sent to them.

mine says MAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXTEMAIL_CONTACTEMAIL_WARNING

Where do I change this to my own text and who its from. I want my store name not my name.

Thanks a bunch


catalog/includes/languages/english/create_account.php - for the defines of the text GREET/WELCOME/TEXT etc
catalog/create_account.php for the creation of the email template

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Thu Sep 02, 2010 5:43 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
Thanks for the info..

I am totally lost with this one.. Even keeping all the defaults it should send a welcome text not the string that I have indicated right?


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Thu Sep 02, 2010 8:23 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
Do you have this file? Have you checked it?:

Code:
catalog/includes/languages/english/create_account.php

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Sun Sep 05, 2010 9:51 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
soundzgood2 wrote:
Do you have this file? Have you checked it?:

Code:
catalog/includes/languages/english/create_account.php

Simon



Yes I have this and it shows nice sample text that should have been sent, but I just get that string.


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Mon Sep 06, 2010 12:41 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
When you say "when a new customer is added", do you mean you're creating the customer account through the admin OR the customer is creating an account through your store? Have you checked Admin/Configuration/Email Options settings?
Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Tue Sep 07, 2010 6:16 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
soundzgood2 wrote:
When you say "when a new customer is added", do you mean you're creating the customer account through the admin OR the customer is creating an account through your store? Have you checked Admin/Configuration/Email Options settings?
Simon



Through the admin. Then it emails them that string


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Tue Sep 07, 2010 7:05 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
Right, so you're looking for:

\admin\includes\languages\english\create_account_process.php for the defines like EMAIL_GREET_NONE etc
\admin\create_account.php for the email template around lines 363 on

(I'm assuming your Cre version is CE 6.4)
Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Wed Sep 15, 2010 6:06 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
it looks good to me... here it is below

<?php
/*
$Id: create_account_process.php,v 1.2 2004/03/05 00:36:41 ccwjr Exp $

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

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/
define('NAVBAR_TITLE', 'Create an Account');
define('HEADING_TITLE', 'Account Information');
define('HEADING_NEW', 'Order Process');
define('NAVBAR_NEW_TITLE', 'Order Process');

define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME);
define('EMAIL_GREET_MR', 'Dear Mr. ' . stripslashes($_POST['lastname']) . ',' . "\n\n");
define('EMAIL_GREET_MS', 'Dear Ms. ' . stripslashes($_POST['lastname']) . ',' . "\n\n");
define('EMAIL_GREET_NONE', 'Dear ' . stripslashes($_POST['firstname']) . ',' . "\n\n");
define('EMAIL_WELCOME', 'We welcome you to <b>' . STORE_NAME . '</b>.' . "\n\n");
define('EMAIL_TEXT', 'You can now take part in the <b>various services</b> we have to offer you. Some of these services include:' . "\n\n" . '<li><b>Permanent Cart</b> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n" . '<li><b>Address Book</b> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n" . '<li><b>Order History</b> - View your history of purchases that you have made with us.' . "\n" . '<li><b>Products Reviews</b> - Share your opinions on products with our other customers.' . "\n\n");
define('EMAIL_CONTACT', 'For help with any of our online services, please email us: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");
define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us by one of our customers. If you did not signup for a free member account, please send an Email to us: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");
define('EMAIL_PASS_1', 'Your password for this account is ');
define('EMAIL_PASS_2', ', keep it in a safe place. (Please note: Your password is case sensitive.)');

define('ENTRY_CUSTOMERS_PAYMENT_SET', 'Set payment modules for the customer');
define('ENTRY_CUSTOMERS_PAYMENT_DEFAULT', 'Use settings from Group or Configuration');
define('ENTRY_CUSTOMERS_PAYMENT_SET_EXPLAIN', 'If you choose <b><i>Set payment modules for the customer</i></b> but do not check any of the boxes, default settings (Group settings or Configuration) will still be used.');
define('ENTRY_CUSTOMERS_SHIPPING_SET', 'Set shipping modules for the customer');
define('ENTRY_CUSTOMERS_SHIPPING_DEFAULT', 'Use settings from Group or Configuration');
define('ENTRY_CUSTOMERS_SHIPPING_SET_EXPLAIN', 'If you choose <b><i>Set shipping modules for the customer</i></b> but do not check any of the boxes, default settings (Group settings or Configuration) will still be used.');

?>


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Wed Sep 15, 2010 6:15 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
i am using Version: CRE Loaded PCI Pro v6.4.1a


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Fri Sep 17, 2010 5:22 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
Hi David
Have you got this sorted out yet?
If not, let's try and debug:

1. Do you have access to your error log files - anything in there when you create a new account via Admin?
2. Check Admin/create_account_process.php ... is this at the end:
Code:
$email_text .= EMAIL_WELCOME . ($send_password ? EMAIL_PASS_1 . $password . EMAIL_PASS_2 : '') . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
    tep_mail($name, $email_address, EMAIL_SUBJECT, nl2br($email_text), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

    tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));
  }

  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

3. What are your settings under Admin/Configuration/Email Options?
4. Do any other emails from Admin (eg order notifications) work?

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Last edited by soundzgood2 on Mon Sep 20, 2010 10:29 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Mon Sep 20, 2010 10:02 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
I am still trying to work my way through this. It does not look like I have that file Admin/checkout_process.php


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Mon Sep 20, 2010 10:30 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
davidm wrote:
I am still trying to work my way through this. It does not look like I have that file Admin/checkout_process.php

Should read 'Admin/create_account_process.php'
Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Thu Sep 23, 2010 8:46 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
I do have that file. :) is this where my problem is?

// build the message content
$name = $firstname . " " . $lastname;

if (ACCOUNT_GENDER == 'true') {
if ($_POST['gender'] == 'm') {
$email_text = EMAIL_GREET_MR;
} else {
$email_text = EMAIL_GREET_MS;
}
} else {
$email_text = EMAIL_GREET_NONE;
}

$email_text .= EMAIL_WELCOME . ($send_password ? EMAIL_PASS_1 . $password . EMAIL_PASS_2 : '') . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
tep_mail($name, $email_address, EMAIL_SUBJECT, nl2br($email_text), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));
}

require(DIR_WS_INCLUDES . 'application_bottom.php');


Top
 Profile  
 
 Post subject: Re: New Customer Text
PostPosted: Thu Sep 30, 2010 8:36 pm 
Offline
CRE Freak
User avatar

Joined: Fri Oct 13, 2006 12:00 am
Posts: 140
soundzgood2 did you give up on me? :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Tue Feb 07, 2012 10:54 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy