[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Shipping and Handling.
****** message to minivend-users from RPD <spam@distance.net> ******
Hi,
I am trying to figure out how to add handling charges to my orders. I
can't quite figure out what this means below or where I have to add
this. If someone could point out which file I need to do this too, ie
the shipping file, I would be most appreciative.
-
Thanks,
-RPD
Handling charges
Additional handling charges can be defined in the shipping file by
setting the form variable mv_handling to a space, comma,
ornull-separated set of valid shipping modes. The lookup and charges are
done in the same fashion, and the additional chargesare added to the
order. (The user is responsible for displaying the charge on the order
report or receipt with a [shipping handling] tag or the like.) All of
the shipping modes found in mv_handling will be applied -- if multiple
instances are found on a form, the accordingly null-separated values
will all be applied. Careful! This should not be done in an item-list
unless you take care to account for multiple setting of the variables.
If you wished only to process a handling charge once, you could do
safely:
[item-list]
[if-field very_heavy]
[perl values]
return '' if $Safe-?{'values'}-?{mv_handling} =~ /very_heavy/;
return ??INPUT TYPE=hidden NAME=mv_handling VALUE=very_heavy??;
[/perl]
[/if-field]
[/item-list]
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list