shop.ini [VATSettings]
The block [VATSettings] of settings/shop.ini, with 6 setting(s).
Never edit settings/shop.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/shop.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/shop.ini.append.phpfor one siteaccess,extension/<extension>/settings/shop.ini.append.phpin an extension (read when the extension is active).
ProductCategoryAttribute
Specifies VAT handler class/file name. For example, if the value is
"ezdefault", then the handler class should be named
eZDefaultVATHandler (case does not matter) and placed to file
ezdefaultvathandler.php residing in a directory specified by
"RepositoryDirectories" and "ExtensionDirectories" settings.
Handler=ezdefault
Identifier of the product category content attribute.
E.g. "ProductCategoryAttribute=category".
Default: empty.
# settings/override/shop.ini.append.php
[VATSettings]
ProductCategoryAttribute=
*/ ?>UserCountryAttribute
Identifier of the user country content attribute.
E.g. "UserCountryAttribute=country".
Default: empty.
# settings/override/shop.ini.append.php
[VATSettings]
UserCountryAttribute=
*/ ?>RequireUserCountry
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.
Default: true.
# settings/override/shop.ini.append.php
[VATSettings]
RequireUserCountry=true
*/ ?>DynamicVatTypeName
Name of the dynamic VAT type displayed in class/object view/edit GUI.
Default: Determined by VAT charging rules.
# settings/override/shop.ini.append.php
[VATSettings]
DynamicVatTypeName=Determined by VAT charging rules
*/ ?>RepositoryDirectories
Directories where VAT handlers should be searched for.
Default: a list of 1: kernel/classes/vathandlers.
# settings/override/shop.ini.append.php
[VATSettings]
# an empty "RepositoryDirectories[]" first replaces the shipped list; without it the items are added
RepositoryDirectories[]
RepositoryDirectories[]=kernel/classes/vathandlers
*/ ?>ExtensionDirectories
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
Default: an empty list.
# settings/override/shop.ini.append.php
[VATSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
*/ ?>Related
Generated by ./console exp:help:examples from settings/shop.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.