Ho do I remove the section that asks a customers email preference when they are checking out?
Ho do I remove the section that asks a customers email preference when they are checking out?
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 ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
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!
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.
oops ... lost mind ... you want it gone not just the choice ...![]()
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:
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.PHP Code:<?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" />
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
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!
Thanks Ajeh.