Specify one or more CGI variables to check for discount
space switch requests.
DiscountSpaceVar varname [varnames...]
The default CGI variable name is "mv_discount_space".
This directive is only available for use in the local
(catalog.cfg) configuration file.
It will not affect any other website in any way.
This directive will not work in the global
(interchange.cfg) configuration file.
This directive was introduced in version 5.4.0,
and is therefore not available for use with any earlier Interchange version.
The DiscountSpaceVar directive can be used to define a list of
CGI variable names that may be used to select the current
When a page is requested,
the named variable(s) will be checked,
for in the declared order.
If one of the declared variables has a value then the value
given will be used as the name of a discount namespace to which
the current session should switch.
If this directive is not specified then a default
value of "mv_discount_space" will be used.
Although that default will most likely suffice for most purposes,
this directive provides the facility to tie the name of the
discount namespace to another variable.
you might find it convenient to tie the discount namespace name
to the "mv_cartname" variable,
which you could do using the following directives:
The discount namespace facility must be switched on,
before this directive will have any effect on Interchange's