Dr as always your suggestions and your time are valued and appreciated. Thank you.
It's that simple hmmm (not for me) . Why isn't that FIRST_NAME variable not already available for any of the emails? You already have FIRST _NAME and LAST_NAME (see below) but when I want to use it in /home/premiers/public_html/myadmin/includes/languages/english/customers.php the I get exactly as I entered FIRST _NAME in the received email.
<!-- Content Section -->
<div class="content">
<div>Dear $EMAIL_FIRST_NAME $EMAIL_LAST_NAME,</div>
<div>$EMAIL_MESSAGE_HTML</div>
</div>
Do we really need to become a coder to do this simple yet most probably be a common request. Saying that I have not found a post anyone asking such request ..may be its not as common as I thought it would be.
'..and alter the code to do the parameter substitution with the value you want inserted. sprintf(NAME_OF_CONSTANT, $substitution1, $substitution2, $substitution3 etc)' .......this really throws the baby out of the bucket for me.
I have done this so far as you suggested. EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE only appears in one file. /home/premiers/public_html/myadmin/includes/languages/english/customers.php. So don't say I have not done my homework :-)
b) I use Developers Toolkit to find where EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE is used,
This is what I found. This is where I had already added some text before. Now all I wanted was to insert the name after the word 'Welcome' . Is that where I place the s%
//define('EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE', 'Your customer status has been updated. Thank you for shopping with us. We look forward to your business.');
define('EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE', 'Welcome [NAME_%s_HERE?] to <strong> Premier Salon Supplies</strong>.
Your wholesale account has been approved.
<br /><br />
As a ‘Thank You’ for registering with us, we would like to offer you 10% off your first online order.
<br /><br />
Use the coupon code <strong>SWEET</strong> at checkout to take advantage of this offer.
<br /><br />
Online Shop – <strong>http://www.premiersalon.com.au</strong>
<br />
');