[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: MV: Free shipping
****** message to minivend-users from Dan Busarow <dan@dpcsys.com> ******
On Fri, 23 Apr 1999, Aaron Rubin wrote:
> Can't figure this one out either... How can I set free shipping for
> orders over a certain price? Thanks.
This is going the other direction, charging a handling charge if the
order is < $200 but the concept is the same. Change mv_shipmode depending
on the order total.
[perl]
$sub = [[subtotal]] + 0;
return "UPS Ground freight + \$6.00 handling [shipping upsh] <input type='hidden' name='mv_shipmode' value='upsh'>" if $sub < 200;
return "UPS Ground freight [shipping upsg] <input type='hidden' name='mv_shipmode' value='upsg'>";
[/perl]
Then just add the new shipping mode to shipping.asc.
Dan
--
Dan Busarow 949 443 4172
Dana Point Communications, Inc. dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
-
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