For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

DiscountSpaceVar

Specify one or more CGI variables to check for discount space switch requests.

Synopsis

DiscountSpaceVar  varname [varnames...]

The default CGI variable name is "mv_discount_space".

Scope

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. 

Availability

Availability

This directive was introduced in version 5.4.0, and is therefore not available for use with any earlier Interchange version.

Description

The DiscountSpaceVar directive can be used to define a list of CGI variable names that may be used to select the current discount namespace.

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.  For instance, you might find it convenient to tie the discount namespace name to the "mv_cartname" variable, which you could do using the following directives:

DiscountSpacesOn  Yes
DiscountSpaceVar  mv_cartname

Note

Note

The discount namespace facility must be switched on, using the DiscountSpacesOn directive, before this directive will have any effect on Interchange's discount mechanism.

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Monday 2 July 2007 at 1:07 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us