[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/settings/ -> shop.ini (source)

   1  #?ini charset="iso-8859-1"?
   2  # eZ publish configuration file.
   3  #
   4  # NOTE: It is not recommended to edit this files directly, instead
   5  #       a file in override should be created for setting the
   6  #       values that is required for your site. Either create
   7  #       a file called settings/override/shop.ini.append or
   8  #       settings/override/shop.ini.append.php for more security
   9  #       in non-virtualhost modes (the .php file may already be present
  10  #       and can be used for this purpose).
  11  
  12  [CurrencySettings]
  13  # Default currency for shopping.
  14  PreferredCurrency=USD
  15  
  16  [MathSettings]
  17  # eZPHPMath   - using php floating point calculations
  18  # eZBCMath    - using bcmath extension.
  19  MathHandler=eZPHPMath
  20  
  21  # MathScale defines significant digits after the decimal point
  22  # Note: applyes for eZBCMath handler only.
  23  MathScale=10
  24  
  25  # RoundingType defines rounding method for autoconversions.
  26  # Possible values: none, round, ceil, floor
  27  RoundingType=round
  28  
  29  # RoundingPrecision defines significant digits after the decimal point
  30  # which should be kept.
  31  # values:
  32  #   numeric, e.g. 0, 1, 2, ...
  33  RoundingPrecision=2
  34  
  35  # RoundingTarget forces rounding for specified target.
  36  # Example:
  37  # input: number = 89.468543
  38  #        precision = 2
  39  #        target_1 = 5
  40  #        target_2 = 99
  41  # usual rounding: round( number, precision ) = 89.47
  42  # apply target_1: round( number, precision, target ) = 89.45
  43  # apply target_2: round( number, precision, target ) = 89.99
  44  # values:
  45  #   numeric, e.g. 1,2,...
  46  #   false
  47  RoundingTarget=false
  48  
  49  [ExchangeRatesSettings]
  50  # eZECB - european central bank
  51  ExchangeRatesUpdateHandler=eZECB
  52  RepositoryDirectories[]=kernel/shop/classes/exchangeratehandlers
  53  # A list of extensions containing exchange rates update handlers
  54  # These handlers must be placed in : <extension>/<your_extension>/exchangeratehandlers/<handler_name>/<handler_name>handler.php
  55  # And contain a class called : <handler_name>Handler
  56  # This class must implement eZExchangeRatesUpdateHandler ( kernel/shop/classes/exchangeratehandlers/ezexchangeratesupdatehandler.php )
  57  # It's common to create a settings/shop.ini.append file
  58  # in your extension and define 'ExtensionDirectories' in it to automatically
  59  # get handler from the extension when it's turned on.
  60  ExtensionDirectories[]=
  61  # Base currency for rates: USD/<base>, NOK/<base>, UAH/<base>, ...
  62  BaseCurrency=EUR
  63  
  64  [ECBExchangeRatesSettings]
  65  ServerName=http://www.ecb.int
  66  ServerPort=80
  67  RatesURI=stats/eurofxref/eurofxref-daily.xml
  68  
  69  [ShippingSettings]
  70  # Specifies shipping handler class/file name. For example, if the value is
  71  # "ezcustom", then the handler class should be named
  72  # eZCustomShippingHandler (case does not matter) and placed to file
  73  # ezcustomshippinghandler.php residing in a directory specified by
  74  # "RepositoryDirectories" and "ExtensionDirectories" settings.
  75  #Handler=ezdefault
  76  
  77  # Directories where shippping handlers should be searched for.
  78  RepositoryDirectories[]=kernel/classes/shippinghandlers
  79  
  80  # If you are going to implement your shipping handler in an extension
  81  # then you should add the extension name to the list below.
  82  # In that case shipping handlers will be searched for
  83  # in the following (hardcoded) directory:
  84  # extension/<your_extension>/shippinghandlers
  85  # beside directories specified in 'RepositoryDirectories' setting.
  86  ExtensionDirectories[]
  87  
  88  [BasketInfoSettings]
  89  # Specifies basketinfo handler class/file name. For example, if the value is
  90  # "ezcustom", then the handler class should be named
  91  # eZCustomBasketInfoHandler (case does not matter) and placed to file
  92  # ezcustombasketinfohandler.php residing in a directory specified by
  93  # "RepositoryDirectories" and "ExtensionDirectories" settings.
  94  
  95  # ezdefault is the default basket info handler, that provides basic 
  96  # calculated information about basket items.
  97  Handler=ezdefault
  98  
  99  # Directories where basketinfo handlers should be searched for.
 100  RepositoryDirectories[]=kernel/classes/basketinfohandlers
 101  
 102  # If you are going to implement your basketinfo handler in an extension
 103  # then you should add the extension name to the list below.
 104  # In that case basketinfo handlers will be searched for
 105  # in the following (hardcoded) directory:
 106  # extension/<your_extension>/basketinfohandlers
 107  # beside directories specified in 'RepositoryDirectories' setting.
 108  ExtensionDirectories[]
 109  
 110  
 111  [VATSettings]
 112  # Specifies VAT handler class/file name. For example, if the value is
 113  # "ezdefault", then the handler class should be named
 114  # eZDefaultVATHandler (case does not matter) and placed to file
 115  # ezdefaultvathandler.php residing in a directory specified by
 116  # "RepositoryDirectories" and "ExtensionDirectories" settings.
 117  #Handler=ezdefault
 118  
 119  # Identifier of the product category content attribute.
 120  # E.g. "ProductCategoryAttribute=category".
 121  ProductCategoryAttribute=
 122  
 123  # Identifier of the user country content attribute.
 124  # E.g. "UserCountryAttribute=country".
 125  UserCountryAttribute=
 126  
 127  # If set to false, no errors will be displayed in case if user country
 128  # is not specified. One might want this when using a custom VAT handler.
 129  RequireUserCountry=true
 130  
 131  # Name of the dynamic VAT type displayed in class/object view/edit GUI.
 132  DynamicVatTypeName=Determined by VAT charging rules
 133  
 134  # Directories where VAT handlers should be searched for.
 135  RepositoryDirectories[]=kernel/classes/vathandlers
 136  
 137  # If you are going to implement your VAT handler in an extension
 138  # then you should add the extension name to the list below.
 139  # In that case VAT handlers will be searched for in the following directory:
 140  # extension/<your_extension>/vathandlers
 141  ExtensionDirectories[]
 142  


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7