There are 8 ways that shipping cost may be calculated. The method used
depends on the first character of the cost
field in the shipping database.
If the first character is a digit, then a number is assumed and read directly as the shipping cost.
If the first character is an e, a cost of zero is returned and an error message is placed in the session
value ship_message
(i.e. [data session ship_message]
or $Session->{ship_message}).
If the character f is the first, MiniVend will first interpret the text for any MiniVend tags and then interpret the result as a formula. It is really as Perl code; so you may reference the entire set of MiniVend objects with the code.
Specifies a chained shipping lookup which will be applied to each item in the shopping cart.
Specifies a chained shipping lookup which will be applied to the entire shopping cart.
Calls the UPS-style lookup. You can pre-define as many as you wish, though if you want to do the hundreds available it is best done on the fly.
If an x is first, a number is expected and is applied as a fixed multiplier for the accumulated criterion (@@TOTAL@@).
If the first character is a capital letter, calls one of the 26 secondary UPS-style lookup zones. (Deprecated now that zones can be named directly).