Zen Cart Logo
Forums / Bug Reports / Fax Number in account editing

Fax Number in account editing

Locked

Views: 2,142

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Feb 2007, 12:07 AM
#1
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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 } ?>
7 Feb 2007, 12:12 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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! :)

15 May 2007, 6:25 PM
#3
oneworldstudios avatar

oneworldstudios

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

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.