Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default create account template

    How can I remove this email format option from the bottom of the page and use html as default?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: create account template

    And what about the folks that do not want HTML email?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: create account template

    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.

  4. #4
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: create account template

    Quote Originally Posted by Kim
    And what about the folks that do not want HTML email?
    they'll just have to deal with it:)

    So byte I just set that email pref to 1(html) and delete the whole option from the create account template file?

  5. #5
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: create account template

    pppppppppppppplease?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: create account template

    To hide the field, but still have it honor the setting in the admin area,
    replace
    PHP 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>'?>
    with
    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.

 

 

Similar Threads

  1. Template with Create Account Successs
    By JeffreyM in forum General Questions
    Replies: 2
    Last Post: 16 Jun 2016, 04:03 PM
  2. v151 Adjust Width, Country Select Field, Create Account Template
    By KenBaker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Mar 2014, 04:53 AM
  3. v138a Customers cant create an account? - Piccadilly Posh Template
    By Party Craze in forum General Questions
    Replies: 7
    Last Post: 6 Sep 2012, 10:30 AM
  4. v138a Customers cant create an account? - Piccadilly Posh Template
    By Party Craze in forum General Questions
    Replies: 3
    Last Post: 6 Sep 2012, 08:44 AM
  5. Create account "missing fields" pop up box - not showing on my template
    By breezie1977 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jan 2011, 06:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg