[TYPO3-shop] No tax outside of country

Simon Browning simon at stwdesign.com
Tue Feb 26 05:55:27 CET 2008


Simon Browning wrote:
> I'm trying to set it so that no tax is charged outside of Canada, I've 
> evidentally got something wrong with the below though, when I add in the 
> 10.where line, I get a mysql error on the website (mysql_fetch_assoc(): 
> supplied argument is not a valid MySQL result resource in 
> /home/allergy/typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 796), and 
>  the cart pops up a "you have not entered your country" message.
> 
> I'm using the useStaticInfoCountry=1 and have the country dropdowns, 
> they seem to work find unless I add the 10.where line.
> 
>   shipping {
>     TAXincluded = 0
>       radio = 0
>       10.title = Standard Shipping
>       10.where.static_countries = cn_short_local != 'Canada'
>       10.replaceTAXpercentage = 0
>       10.price.type = price
>     10.price.0 = 10
>     10.price.200 = 16
>     10.price.400 = 22
>   }
> 
> Where have I erred? Also, will this kill all tax outside Canada, or just 
> the tax on shipping?  If shipping,  do I need to then do similar under 
> payment?
> 
> Thank you for all your help.
> 
> Simon

Perhaps I should add, there is only a single shipping method ... do we 
need to set up a second for outside Canada?

Thank you.

Simon


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