This part of the 4.x documentation is for Exponential 4.0, only reference section is common for all Exponential 4.x versions as well as Exponential 5.x "LegacyStack", please select the version you are using for the most up to date documentation! |
The "[VATSettings]" section of the "settings/shop.ini" configuration file defines the VAT handler that will be used for assigning the value added taxes to your products. Under this section, the following settings can be specified:
The following lines can be specified under the "[VATSettings]" section of the "shop.ini" configuration file:
[VATSettings] Handler=ezdefault RepositoryDirectories[]=kernel/classes/vathandlers
These settings will instruct eZ publish to use the built-in update handler located at "kernel/classes/vathandlers/ezdefaultvathandler.php".
You can extend the system by creating custom VAT handlers for special needs. For example, if you have an extension "myextension" that includes a VAT handler "myrule", you can put the following lines into an override for the "shop.ini" configuration file:
[VATSettings] Handler=myrule ExtensionDirectories[]=myextension
or
[VATSettings] Handler=myrule RepositoryDirectories[]=extension/myextension/vathandlers
These settings will instruct Exponential to use the VAT handler located at "extension/myextension/vathandlers/myrulevathandler.php".
Powered by Exponential™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.