If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Remove email preference

Remove email preference

Locked

Started by salina13 on 7 Nov 2006, 11:30 PM · Views: 2,498

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Nov 2006, 11:30 PM
#1
salina13 avatar

salina13

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?

7 Nov 2006, 11:32 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

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!

8 Nov 2006, 12:55 AM
#3
salina13 avatar

salina13

New Zenner

Join Date:
Dec 2005
Posts:
59
Plugin Contributions:
0

Post #3 by salina13

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.

8 Nov 2006, 1:05 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

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 ...

**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!

8 Nov 2006, 1:19 AM
#5
salina13 avatar

salina13

New Zenner

Join Date:
Dec 2005
Posts:
59
Plugin Contributions:
0

Post #5 by salina13

Thanks Ajeh.