Name

handling — calculate and display handling costs

ATTRIBUTES

Attribute Pos. Req. Default Description
[ mode | modes | name ] Yes     .
[ cart | carts ]       .
[ table | tables ]       .
noformat Yes No No Output plain number instead of formatting it according to the currency locale?
convert       .
default       .
interpolate     0 interpolate input?
reparse     1 interpolate output?

DESCRIPTION

BEHAVIOR

This tag does not appear to be affected by, or affect, the rest of Interchange.

EXAMPLES

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

NOTES

AVAILABILITY

handling is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/handling.coretag
Lines: 18


# Copyright 2002-2007 Interchange Development Group and others
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.  See the LICENSE file for details.
# 
# $Id: handling.coretag,v 1.5 2007-03-30 23:40:49 pajamian Exp $

UserTag handling            Order        mode
UserTag handling            addAttr
UserTag handling            attrAlias    tables table
UserTag handling            attrAlias    carts cart
UserTag handling            attrAlias    modes mode
UserTag handling            attrAlias    name mode
UserTag handling            PosNumber    1
UserTag handling            Version      $Revision: 1.5 $
UserTag handling            MapRoutine   Vend::Interpolate::tag_handling

Source: lib/Vend/Interpolate.pm
Lines: 5219

*tag_handling = \&Vend::Ship::tag_handling;

Source: lib/Vend/Ship.pm
Lines: 1010

sub tag_handling {
my ($mode, $opt) = @_;
$opt = { noformat => 1, convert => 1 } unless $opt;

if($opt->{default}) {
  undef $opt->{default}
    if tag_shipping( undef, {handling => 1});
}

$opt->{handling} = 1;
if(! $mode) {
  $mode = $::Values->{mv_handling} || undef;
}
return tag_shipping($mode, $opt);
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!