Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Fax Number in account editing

    Barely a bug this, more of an inconsistency in functionality ...

    ... if you turn off fax number in Admin, it is not available to add as part of the account creation process. However, it is still available to edit on the edit account details page.

    IMHO if the store owners decides they don't want to collect fax numbers, then they should be turned off consistently across the site. In the UK this poses a potential legal problem (though it's unlikely to manifest itself in practice) as "data holders" may be required to the provide a rationale for holding any data item held, which could be difficult if it wasn't actually wanted in the first place.

    The solution is simply to wrap lines 60-62 of tpl_account_edit_default.php with the condition
    <?php
    if (ACCOUNT_FAX_NUMBER == 'true') {
    ?>

    ...

    <?php
    }
    ?>
    Last edited by kuroi; 7 Feb 2007 at 01:14 AM. Reason: typo
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: Fax Number in account editing

    Oh and I betcha want us to remember to fix both sides ... <insert rollie eyes here>

    Thanks for the update! :)
    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
    May 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Fax Number in account editing

    i appreciate the beauty of a small piece of code that works so elegantly.

    great job on zen-cart guys... i'm a newbie but i'm going live this week.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 8 Oct 2009, 06:35 PM
  2. Fax number requirement
    By jbarrick in forum Managing Customers and Orders
    Replies: 6
    Last Post: 17 Aug 2009, 06:37 PM
  3. Making FAX NUMBER required?
    By kgmmusic in forum Managing Customers and Orders
    Replies: 2
    Last Post: 10 Aug 2009, 06:47 AM
  4. Fax Number: Create Account be required
    By haredo in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Mar 2007, 06:22 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