[ic] No shipping for dealers?

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Fri Jul 30 16:06:14 EDT 2004


At 12:34 PM 7/30/2004, you wrote:

>Greetings,
>
>I have the following code which makes it so that there is no sales tax for 
>dealer accounts.  Can I do something similar so that shipping is also not 
>charged for dealer accounts?  I tried adding
>
>$Config->{Shipping} = ' ';
>
>but it didn't have the desired effect (or any, for that matter).
>
>Thank you,
>
>Peter
>
>------------------------------------------------
>
>UserDB    default    ignore_case     1
>AutoLoad <<EOF
>[calc]
>         if ($Scratch->{dealer}) {
>                 $Config->{SalesTax} = ' ';
>         }
>         return;
>[/calc]
>EOF

Try adding:

         $Values->{mv_shipmode} = 'FREE';

...within the if {}

- Ed


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 



More information about the interchange-users mailing list