Steve Graham <suppressed> wrote: > I'm implementing a tax_exempt variable in the userdb database, it > will have a value of 1 if exempt, and a default of 0. > > Would it be best to test for this variable in the fly_tax routine in > interpolate.pm , or elsewhere? > Probably near the top of Vend::Interpolate::salestax(). There are ways to do what you need without hacking the core. For instance, you could [assign] a zero salestax value when you find that a user is logged and has the tax_exempt preference scratch set true. Having said that, a "standard" (in-core) facility might be a useful feature. I can see it being used on new ecommerce-based websites that find that they need to deal with international orders between countries that use the VAT system (UK and Europe). -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ suppressed _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.