Quote Originally Posted by mcarbone View Post
Hi,

I am using Zen 1.3.8 and have the COWA mod installed. I am trying to remove the options for email formats (Text only or HTML).

I successfully removed this option with the create_account.php file, but I am having trouble with the no_account.php file.

I am commenting out this line in includes/modules/my_template/no_account.php:



Any help is always greatly appreciated.

www.medsafeglobal.com/cart

Thank you,

MC
Hi MC,

Please note: a recent client of mine asked for the Newsletter/Email type to be removed from registration process, which all worked okay until ZC emailed out the first 'Order Confirmation' which went out as text only.

ZC requires a value to be passed to the dbase for at least 'email type' if it doesn't the dbase has no value inserted and when ZC sends out any email it checks for what email type is set and since there is no value in the dbase it defaults to sending text emails, therefore no pretty html templated emails.

To get around this you could turn off Newsletters in 'admin->configuration->customer details' via 'Show Newsletter Checkbox' and then change the english defined for the label 'Newsletter and Email Details' in /includes/languages/english.php to perhaps 'Email Preference'

or

hide the html from registration form altogther using css, and preset the radio to 'HTML' option; that way at least its setting a value in dbase.

regards,
Matt