Name

MV_SHIP_MODIFIERS —

SYNOPSIS

{ }

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_SHIP_MODIFIERS is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Ship.pm
Line 692 (context shows lines 682-696 in shipping():523)

    foreach $i (0 .. $#$Vend::Items) {
    my $item = $Vend::Items->[$i];
    $total += (database_field($base, $item->{code}, $field) || 0) *
          $item->{quantity};
  }
}
else {
#::logDebug("standard field selection");
    my $use_modifier;

    if ($::Variable->{MV_SHIP_MODIFIERS}){
    my @pieces = grep {$_ = quotemeta $_} split(/[\s,|]+/,$::Variable->{MV_SHIP_MODIFIERS});
    my $regex = join('|',@pieces);
    $use_modifier = 1 if ($regex && $field =~ /^($regex)$/);
    }

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!