[ic] newbie w/ quick question.. i'm in a bad situation...
Rene Hertell
interchange at hertell.com
Tue Sep 23 21:12:57 EDT 2003
> 1) I need to make the email address field not mandatory. Upon trying to
> familiarize myself with interchange I found this in Order.pm:
> sub _email {
> my($ref, $var, $val) = @_;
> if($val and $val =~ /^[\040-\176]+\@[-A-Za-z0-9.]+\.[A-Za-z]+$/) {
> return (1, $var, '');
> }
> else {
> return (undef, $var,
> errmsg( "'%s' not an email address", $val )
> );
> }
> }
>
> Which I understand is called to verify the email address data...
> can I just
> modify this here or do I have to look elsewhere? And once I make the
> necessary changes, do I have to run restart?
You are probably talking about the email-check on a order-checkout page? If
so, then check the etc/profiles.order (inside the catalog root).
Hope this helps, cause I don't use this functions myself
Regards,
René
More information about the interchange-users
mailing list