handling — calculate and display handling costs
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? |
Interchange 5.9.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/Ship.pm
Lines: 1008
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); }