Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Welcome Email -- HELP


Recommended Posts

This is driving me nuts and I have search this site looking for the answer and can't find anyone having the same problem.. so if you can help me that would be great!


I have tried MANY time to change the Welcome Email in the lang/eng/create_account.php only to get the same type error regardless of what I do.


Error is:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tomydomain/includes/languages/english/create_account.php on line 36


Which by the way I didn't even touch! The error happens when I click create account.. If I put the original file back then the error doesn't happen.


Here is line 36:

define('EMAIL_CONTACT', 'For help with any of our online services, please email the us: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");



I did however change the text in the email above this line.. I want it to say:

define('EMAIL_TEXT', 'Hi and Welcome to Petal Beauty,' . "\n\n" 
. 'We wanted to take the time to welcome you to the Petal Beauty "Family."  Petal is truly our labor of love and we wanted to sincerely welcome you and thank you for registering with <a href="PetalBeautyCosmetics.com">PetalBeautyCosmetics</a>.' . "\n\n" 
. 'Currently with your first online order, you will receive a <b>FREE full sized Petal Signature Sasspot</b>. Simply add it to your cart. If you are new to Petal gloss wear, this is a great way for you to experience the Petal shine and freshness that our gloss has to offer.' . "\n\n"
. 'By registering, you will be the first to know about all of our new products and special offers (like our upcoming Holiday Set and Special Discounts).  It also entitles you to receive our Free monthly beauty tips that are both informative and fun.' . "\n\n" 
. 'Look at what one of our customers recently told us: <i>Petal Beauty Body Lotion is intensely moisturizing, luxuriously rich, and delightfully scented. The Sasspot Lip Gloss is a creamy gloss with a dose of high shine color. It feels smooth, not sticky. I love their shimmering pink shades. A gloss that shines, moisturizes, and conditions lips. Dacia B., Cape Cod, MA</i>' . "\n\n"
. '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"
. 'Once again, thank you for your interest in Petal Beauty.  We always welcome your questions and comments.  We can be reached via our web site or by calling our toll free number, 1-877-914-8100.' . "\n\n" 
. 'We look forward to a long and fun relationship!' . "\n\n" 
. 'Enjoy,' . "\n" 
. 'store owners name goes here' . "\n"
. 'Founders, Petal Beauty Cosmetics'');


I know it has to be something I am doing in the body of the email text, but I am following the same format that was already there.. so what is the problem.


I get the same kind of problems when I try to change the Welcome email to the Newsletter welcome (it's a contrib).


Thanks for your help


Link to comment
Share on other sites

Thank you so much!! I can't believe I kept looking over that! It works now. Yippeee :thumbsup:


You wouldn't happen to know how I can add their username and password to the welcome email would you??


Thanks again I was really frustrated!



Link to comment
Share on other sites

username is %s i believe


used like:

define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");


password is difficult as its encrypted in database, not 100% sure how to do that and I wouldnt want my password passed to me in the email as it is not secure.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...