MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Shipping and Handling.



******    message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com>     ******

> ******    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.
> -

I also am interested in this. I need to add a handling charge that is:

 1) only for certain products,
 2) only for certain states
 3) is multiplied by the number of boxes.

For example, if there are 1000 per box and the order is 1500 the it would
be the (handling_charge * 2). I want it to show up on the Checkout page as
a separate line (and of course on the receipt) when it occurs.

Christopher Thompson


> 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
>

-
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


Search for: Match: Format: Sort by: