[ic] Re: [mv] Sales Tax

Stefan Hornburg Racke interchange-users@icdevgroup.org
Wed Aug 14 10:37:01 2002


Mike Heins <mike@perusion.com> writes:

> Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> > Mike Heins <mikeh@minivend.com> writes:
> > 
> > 
> > [...]
> > 
> > > 
> > > In catalog.cfg, automatically load a category into the shopping cart:
> > > 
> > >     Automodifier  tax_criteria
> > > 
> > > (You can also locate it outboard in another_table with
> > > another_table:tax_criteria.)
> > > 
> > > products database:
> > > 
> > >     add field "tax_criteria" and put "food" or "goods" in each item.
> > > 
> > > shipping.asc: (Change the vertical bar | to TAB in the actual entry)
> > > 
> > > VAT1|VAT for food|[subtotal noformat=1]|0|9999999|x .055||limit=tax_criteria, filter=food
> > > VAT2|VAT for nonfood|[subtotal noformat=1]|0|9999999|x .196||limit=tax_criteria, filter=goods
> > > 
> > 
> > Is there a way to directly use the modifier as factor ? In my case
> > the database field "salestax" already contains 0.16 or 0.07.
> 
> Only by means of custom routine. Obviously you would be quite capable 
> of doing that. 8-)
> 
> I would think the SalesTax/multi would be a better choice, with a 
> tax_category and the tax rates kept in the country table.

In that case assign looks like the most straightforward solution.
No need to complicate things more than necessary :-).

Bye
        Racke

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.