[ic] Fwd: breaking down in tears -sorry little mistake

joachim.richter joachim.richter@usvideocenter.de
Wed, 21 Feb 2001 19:26:01 +0100


Sorry little mistake


UserDB         default    scratch    dealer

Autoload <<EOR
[perl]
    if($Scratch->{dealer}) {
            $Config->{PriceField} = 'no_price';
    }
[/perl]
EOR

Hello everybody,
i have inserted 3 new price fields in the products.txt called
price2/price3/price4
our dealers have 3 different pricegroups (preisstaffel - field in the
userdb.txt containing either 2,3,4)

I would like to change the config.txt in such a way that it would change
automatically the PriceField
according to the pricegroup(preisstaffel) in the userdb.txt [price2 -->
pricegroup2 ... price3--> pricegroup....]

thing is i do not know a great deal about pearl and i am basically
breaking down in tears since I tried for the last 4 hours
and i just cant get it. can somebody please help me

regards joe
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart

Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de