[Typo3-shop] Tax by region

Franz Holzinger franz at fholzinger.com
Sat Jan 28 20:00:18 CET 2006


Hello Bill,
>>
>> Some TypoScript settings can be invented to set the tax rate per state.
>>
> Hey Franz,
> I imagine such a function would be fairly simple because I have only one
> state that taxes would effect and that is NY. All other 49 states are
> tax free in the case of my particular client.
> 
> If we need two parameters I could set NY to 8.25% and the others to 0%
> 

You need a new field for the fe_users table to have the state.
Then just change the code and overwrite the $this->conf['TAXpercentage']
 variable by 0 when the state is unequal to 'NY'.

However to make this configurable from  TypoScrip setup something more
would be needed to get changed.

Greets,

Franz



More information about the TYPO3-project-tt-products mailing list