How can I remove this email format option from the bottom of the page and use html as default?
How can I remove this email format option from the bottom of the page and use html as default?
And what about the folks that do not want HTML email?
You can "set" the default in Admin->Configuration->Customer Details
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
they'll just have to deal with it:)Originally Posted by Kim
So byte I just set that email pref to 1(html) and delete the whole option from the create account template file?
pppppppppppppplease?
To hide the field, but still have it honor the setting in the admin area,
replacewithPHP Code:<?php echo zen_draw_radio_field('email_format', 'HTML', (ACCOUNT_EMAIL_PREFERENCE == '1' ? 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', (ACCOUNT_EMAIL_PREFERENCE == '1' ? false : true), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>PHP Code:<?php zen_draw_hidden_field('email_format', (ACCOUNT_EMAIL_PREFERENCE == '1' ? 'HTML' : 'TEXT'); ?>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.