Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

shop.ini [BasketInfoSettings]

The settings of [BasketInfoSettings] in shop.ini: Handler, RepositoryDirectories, ExtensionDirectories

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/shop/BasketInfoSettings.md

On this page

shop.ini [BasketInfoSettings]

The block [BasketInfoSettings] of settings/shop.ini, with 3 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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/shop.ini.append.php for one siteaccess,
  • extension/<extension>/settings/shop.ini.append.php in an extension (read when the extension is active).

Handler

Specifies basketinfo handler class/file name. For example, if the value is
"ezcustom", then the handler class should be named
eZCustomBasketInfoHandler (case does not matter) and placed to file
ezcustombasketinfohandler.php residing in a directory specified by
"RepositoryDirectories" and "ExtensionDirectories" settings.
ezdefault is the default basket info handler, that provides basic
calculated information about basket items.

Default: ezdefault.

<?php /* #?ini charset="utf-8"?
# settings/override/shop.ini.append.php
[BasketInfoSettings]
Handler=ezdefault
*/ ?>

RepositoryDirectories

Directories where basketinfo handlers should be searched for.

Default: a list of 1: kernel/classes/basketinfohandlers.

<?php /* #?ini charset="utf-8"?
# settings/override/shop.ini.append.php
[BasketInfoSettings]
# an empty "RepositoryDirectories[]" first replaces the shipped list; without it the items are added
RepositoryDirectories[]
RepositoryDirectories[]=kernel/classes/basketinfohandlers
*/ ?>

ExtensionDirectories

If you are going to implement your basketinfo handler in an extension
then you should add the extension name to the list below.
In that case basketinfo handlers will be searched for
in the following (hardcoded) directory:
extension/<your_extension>/basketinfohandlers
beside directories specified in 'RepositoryDirectories' setting.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/shop.ini.append.php
[BasketInfoSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x