Page 1 of 1

Default email format for registered customers

PostPosted: Wed Nov 24, 2004 3:42 am
by Nikolaus Gruchot
Hi all,

is there any way to set the default email receipt text format to html for
customers filling in the customer registration form? I can only find the
setting "[x] html receipt for customers ordering without being registered.

I have been monitoring the new registered customers lately and not one
single one change the default [x] text format to [x] html format when
registering.

As long as there are not two separate fields (one for text and one for html)
for the email text at the bottom of the email receipt that customers
receive, it is a pain in the neck to optimize the message/text so that it
displays correctly in both variants.

I had it optimized for text in the past, but switched to html lately and
want to gently nudge customers towards the html format.

If I had a wish for Christmas, I would wish me two seperate fields
in ->Commerce setup -> Order system -> Thank you screen -> Text at the
bottom
of the email receipt:, one for text email receipts and one for html email
receipts and the on screen display when the order has passed through.

Regards,

Niko

Re: Default email format for registered customers

PostPosted: Wed Nov 24, 2004 8:14 am
by JIM
Niko

In the customer registration template replace the tag that displays the
email preferences with the code that the tag creates and then modify the
code to set the html version as default.

Tag is
[-- CR_email_type --]

Default code generated is:

<table class="email_type">
<tr><td colspan=2 align=left class="email_type_text">What format do you want your e-mail receipts in?</td></tr>
<tr><td class="email_type_select" align=left>
<input class="email_type" tabindex="11" type=radio value="HTML" name="emailtype" >
</td><td class="email_type" align=left>HTML</td></tr>
<tr><td align=left class="email_type_select">
<input class="email_type" tabindex="12" type=radio value="TEXT" name="emailtype" checked>
</td><td class="email_type" align=left>Text</td></tr></table>

notice these 2 lines
<input class="email_type" tabindex="11" type=radio value="HTML" name="emailtype" >
<input class="email_type" tabindex="12" type=radio value="TEXT" name="emailtype" checked>

Just move the 'checked' from the end of the "TEXT" line and put it at the end of the "HTML" line.
That should make the default HTML.

Jim




Nikolaus Gruchot wrote:

Hi all,

is there any way to set the default email receipt text format to html for
customers filling in the customer registration form? I can only find the
setting "[x] html receipt for customers ordering without being registered.

I have been monitoring the new registered customers lately and not one
single one change the default [x] text format to [x] html format when
registering.

As long as there are not two separate fields (one for text and one for html)
for the email text at the bottom of the email receipt that customers
receive, it is a pain in the neck to optimize the message/text so that it
displays correctly in both variants.

I had it optimized for text in the past, but switched to html lately and
want to gently nudge customers towards the html format.

If I had a wish for Christmas, I would wish me two seperate fields
in ->Commerce setup -> Order system -> Thank you screen -> Text at the
bottom
of the email receipt:, one for text email receipts and one for html email
receipts and the on screen display when the order has passed through.

Regards,

Niko




Re: Default email format for registered customers

PostPosted: Wed Nov 24, 2004 8:27 am
by Nikolaus Gruchot
Hi Jim,

done and works fine :-)

I should start a log for myself concerning these modifications, so that I
will be able to find the place where to alter the text pieces in the future,
as with such mods the back-office text will no longer be good for that.

Thank you again,

Niko

"JIM" <jstavast@xmission.com> schrieb im Newsbeitrag
news:co24iu$ms$1@eval.shopsite.com...
Niko

In the customer registration template replace the tag that displays the
email preferences with the code that the tag creates and then modify the
code to set the html version as default.

Tag is
[-- CR_email_type --]

Default code generated is:

table class="email_type"
tr><td colspan=2 align=left class="email_type_text">What format do you
want your e-mail receipts in?</td></tr
tr><td class="email_type_select" align=left
input class="email_type" tabindex="11" type=radio value="HTML"
name="emailtype"
/td><td class="email_type" align=left>HTML</td></tr
tr><td align=left class="email_type_select"
input class="email_type" tabindex="12" type=radio value="TEXT"
name="emailtype" checked
/td><td class="email_type" align=left>Text</td></tr></table

notice these 2 lines
input class="email_type" tabindex="11" type=radio value="HTML"
name="emailtype"
input class="email_type" tabindex="12" type=radio value="TEXT"
name="emailtype" checked

Just move the 'checked' from the end of the "TEXT" line and put it at the
end of the "HTML" line. That should make the default HTML.

Jim

Re: Default email format for registered customers

PostPosted: Thu Dec 02, 2004 3:15 am
by Nikolaus Gruchot
Hello,

Just as final result here: If you change the default from TEXT to HTML email
receipt for customers signing up -> ALL customers so far did not change it
to back to text.

My conclusion: Customers use the default value rather then making a
selection here when registering. So you as a merchant need to decide what
99% of your customers will get: TEXT or HTML email receipts.

Best regards,

Niko

"Nikolaus Gruchot" <gruchot@watersafety.net> schrieb im Newsbeitrag
news:co25o1$1g8$1@eval.shopsite.com...
Hi Jim,

done and works fine :-)

I should start a log for myself concerning these modifications, so that I
will be able to find the place where to alter the text pieces in the
future, as with such mods the back-office text will no longer be good for
that.

Thank you again,

Niko

"JIM" <jstavast@xmission.com> schrieb im Newsbeitrag
news:co24iu$ms$1@eval.shopsite.com...
Niko

In the customer registration template replace the tag that displays the
email preferences with the code that the tag creates and then modify the
code to set the html version as default.

Tag is
[-- CR_email_type --]

Default code generated is:

table class="email_type"
tr><td colspan=2 align=left class="email_type_text">What format do you
want your e-mail receipts in?</td></tr
tr><td class="email_type_select" align=left
input class="email_type" tabindex="11" type=radio value="HTML"
name="emailtype"
/td><td class="email_type" align=left>HTML</td></tr
tr><td align=left class="email_type_select"
input class="email_type" tabindex="12" type=radio value="TEXT"
name="emailtype" checked
/td><td class="email_type" align=left>Text</td></tr></table

notice these 2 lines
input class="email_type" tabindex="11" type=radio value="HTML"
name="emailtype"
input class="email_type" tabindex="12" type=radio value="TEXT"
name="emailtype" checked

Just move the 'checked' from the end of the "TEXT" line and put it at the
end of the "HTML" line. That should make the default HTML.

Jim