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

shop.ini [BasketSettings]

The settings of [BasketSettings] in shop.ini: BasketViewName

Download as PDF

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

On this page

shop.ini [BasketSettings]

The block [BasketSettings] of settings/shop.ini, with 1 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).

BasketViewName

The view name the shop uses for the basket page, and for every redirect,
form action and breadcrumb that targets it. Any simple token works - letters,
digits, dash and underscore - and the shop is then served at /shop/<name>/:

BasketViewName=basket -> /shop/basket/ (default)
BasketViewName=cart -> /shop/cart/
BasketViewName=buyer -> /shop/buyer/

/shop/basket/ stays registered whatever the setting, so existing links and
bookmarks keep resolving; the setting decides where the shop sends people.

A design may theme a name by adding shop/<name>.tpl - shop/cart.tpl ships as
an example. Without one, the ordinary shop/basket.tpl is used, so a new name
needs no template of its own. Anything outside the allowed characters falls
back to basket rather than producing a URL that routes nowhere.

Default: basket.

<?php /* #?ini charset="utf-8"?
# settings/override/shop.ini.append.php
[BasketSettings]
BasketViewName=basket
*/ ?>

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