DiscountSpaceVar — specify names of CGI variables to check for discount space definition
DiscountSpaceVar
is a configuration directive with the
default value of 'mv_discount_space
'. It is a list of
names of CGI variables to check per page process, such that a CGI
variable can be used to specify the discount space.
For this directive to have any effect, the DiscountSpacesOn
directive
must be enabled.
The default value, mv_discount_space
,
is likely to suffice for most purposes, but people could want to tie the
discount space
to other things, such as the cart name, by including other variable
names in
this array (for instance, mv_cartname
would tie the
discount space to the cart name, which could be convenient in some situations).
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3780 (context shows lines 3780-3800)
sub parse_array { my($item,$settings) = @_; return '' unless $settings; my(@setting) = grep /\S/, split /[\s,]+/, $settings; my $c; if(defined $C) { $c = $C->{$item} || []; } else { no strict 'refs'; $c = ${"Global::$item"} || []; } for (@setting) { check_legal($item, $_); push @{$c}, $_; } $c; }