New Zenner
- Join Date:
- Dec 2005
- Posts:
- 59
- Plugin Contributions:
- 0
Post #1 by salina13
Ho do I remove the section that asks a customers email preference when they are checking out?
New Zenner
Ho do I remove the section that asks a customers email preference when they are checking out?
Oba-san
The preference is actually asked on the create_account and not on the checkout ...
There are settings for email under the Customer Details as well as under the Email Settings ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
New Zenner
I've already checked under both of those sections and nothing is offered in there to turn off that section in the account creation where the customer is asked whether they prefer html or text for emails.
I have the default set as text already so that section on the account creation page is useless.
How do I get rid of that section on the account creation page.
Oba-san
oops ... lost mind ... you want it gone not just the choice ...:blink:
You can copy the file:
/includes/templates/template_default/tpl_modules_create_account.php
To your templates and overrides directory:
And comment out the lines around 181-182:
<?php echo zen_draw_radio_field('email_format', 'HTML', ($email_format == 'HTML' ? true : false),'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', ($email_format == 'TEXT' ? true : false), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
<br class="clearBoth" />
Note: if not giving the customer a choice, we do recommend you send TEXT emails as many do not accept HTML emails or you must be approved for them to accept those emails from you etc.
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
New Zenner
Thanks Ajeh.
Tell staff why this post should be reviewed.