Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Tax calculator works at last




30 October 2009 at 4:00am (Last edited: 1 November 2009 9:42pm), Community Member, 61 Posts

Maybe this will help.
I spent several hours trying to understand why I couldn't get the following code to work :
TaxCalculator::set_for_country("FR", 0.196, "TVA", "inclusive"); (in _config.php)
I looked for a solution in the forum without finding it.
And finally, I got it ! I hadn't filled in the "administrator's country" field, in the security tab of the cms.
Now that the cms knows I'm French, the VAT is OK on my checkout page...

EDIT : it works if you're working on wamp (local server), and if you're connected.