Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Create Account - Default Email unchecked ? Cold Steel

    ZC 1.3.9b
    database patch 1.3.9a
    template Cold Steel

    On the Create Account page https://chilloutfashions.com.au/inde...ain_page=login neither radio button (HTML or TEXT only) is pre-selected despite these settings in admin:

    Configuration > Customer Details
    Show Newsletter Checkbox set to 1 (optional)
    Customer Default Email Preference set to 1 (HTML)

    No matter which option I am choosing in Customer Details (HTML or TEXT), the relevant boxes always remain unchecked.

    This is also the case if Show Newsletter Checkbox set to 2= Display Checked (not that I want to do that for legal reasons...) - the box remains unchecked.

    I am stumped especially since this not my first ZC installation.

    Any ideas?

    Thanks / Frank

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Create Account - Default Email Preference remains unchecked ?

    See if you have this problem in the Classic Template ... it is working fine ...
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Create Account - Default Email Preference remains unchecked ?

    Quote Originally Posted by Ajeh View Post
    See if you have this problem in the Classic Template ... it is working fine ...
    Thanks Linda. Works fine with Classic Template.

    May need to check the Cold Steel upgrade version against my files. Could have made a boo-boo there

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Create Account - Default Email Preference remains unchecked ?

    Checked and compared my template files and can't make any head or tail out of this mystery - very strange indeed.

    Time for bed....

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Create Account - Default Email Preference remains unchecked ?

    Found the culprit

    The corresponding override file of includes/modules/create_account.php residing in includes/modules/MY_TEMPLATE/create_account.php was missing this piece of code in the section

    /**
    * Set some defaults
    */

    $email_format = (ACCOUNT_EMAIL_PREFERENCE == '1' ? 'HTML' : 'TEXT');
    $newsletter = (ACCOUNT_NEWSLETTER_STATUS == '1' || ACCOUNT_NEWSLETTER_STATUS == '0' ? false : true);
    No idea how I stuffed this one up but good ole WinMerge helped to fix it.

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Create Account - Default Email unchecked ? Cold Steel

    I might add to my last post that this problem had nothing to do with Clyde's Cold Steel template - his contribution works absolutely perfect (as usual - thanks Clyde) - it was simply related to a boo-boo I created (??) myself

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Create Account - Default Email unchecked ? Cold Steel

    Thanks for the update and for posting the solution to this problem ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. Responsive Cold Steel Template for v1.5.x
    By rbarbour in forum Addon Templates
    Replies: 38
    Last Post: 29 May 2017, 03:12 AM
  2. Cold Steel Template Support Thread
    By clydejones in forum Addon Templates
    Replies: 690
    Last Post: 8 Jun 2014, 12:25 AM
  3. v150 Cold Steel Template
    By Sniper in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Aug 2012, 06:25 PM
  4. Cold Steel Favicon
    By staceyx in forum Addon Templates
    Replies: 2
    Last Post: 1 Jun 2009, 04:07 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR