17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 845 Views |
-
E-commerce tax calculation - cannot set up - Fatal Error

24 July 2008 at 9:15pm
I have been having ongoing difficulty in setting up the ecommerce module.
My clients wish to add tax to their orders and so i added this snippet of code word for word from the ecommerce documentation to the mysites/_config.php:
TaxCalculator::set_for_country("UK", 0.175, "VAT", "exclusive");
However I get this fatal error:
Fatal error: Class 'TaxCalculator' not found in /var/www/vhosts/mysite.co.uk/httpdocs/mysite/_config.php on line 38
Why does it not work!!?
If i put:
TaxModifier::set_for_country("UK", 0.175, "VAT", "exclusive");
the fatal error goes but nothing seems to happen
Help please
-
Re: E-commerce tax calculation - cannot set up - Fatal Error

28 July 2008 at 8:50pm
Ok i still have had no luck with implementing the TaxCalculator.
The only workaround that I can think of now is to include tax in the prices and then show the net prices in the product description.
Unless someone knows otherwise.
| 845 Views | ||
|
Page:
1
|
Go to Top |

