Skip to the content
Documentation

[VATSettings]

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

The group [VATSettings] of settings/shop.ini.

File

settings/shop.ini; override it in settings/override/shop.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
ProductCategoryAttribute (empty) Identifier of the product category content attribute. E.g. "ProductCategoryAttribute=category".
UserCountryAttribute (empty) Identifier of the user country content attribute. E.g. "UserCountryAttribute=country".
RequireUserCountry true If set to false, no errors will be displayed in case if user country is not specified. One might want this when using a custom VAT handler.
DynamicVatTypeName Determined by VAT charging rules Name of the dynamic VAT type displayed in class/object view/edit GUI.
RepositoryDirectories[] kernel/classes/vathandlers Directories where VAT handlers should be searched for.
ExtensionDirectories[] (empty array) If you are going to implement your VAT handler in an extension then you should add the extension name to the list below. In that case VAT handlers will be searched for in the following directory: extension/<your_extension>/vathandlers

See also

Generated example: shop.ini [VATSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/shop.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.