Akopia Akopia Services

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

Re: [mv] Shipping cost drops to zero beyond a certain amount...



******    message to minivend-users from "kyle@invisio.com" <kyle@invisio.com>     ******

At 05:17 PM 5/30/00 -0400, you wrote:
>******    message to minivend-users from Jean-Philippe Bouchard 
><jeanphil@sitepak.com>     ******
>
>Hello folks,
>	I'm trying to devise a shipping mode using the weight of the order.
>However, I'd like the shipping cost to drop to zero if the total price
>of the order goes beyond a certain amount(50$ in this example). Here's
>the entry in the shipping.asc:
>
>mode1   Shipping based on weight      weight        0       0       e
>error
>mode1   Shipping based on weight      price   50.00   99999.00        f
>0
>mode1   Shipping based on weight      weight        0       150       f
>@@TOTAL@@
>mode1   Shipping based on weight      weight        150       999999  e
>error
>
>	I put the price rule early in the mode so that it matches first.
>However, minivend seems to ignore the rule pertaining to the price.
>Maybe I'm trying to do something impossible in minivend... Any
>suggestions?

Jean-Philippe,

You may want to try chained shipping.....
(NOTE: replace pipes with tabs)


mode1|Special Shipping|[subtotal noformat=1]|0|0|e Nothing to ship!
mode1|Special Shipping|[subtotal noformat=1]|0|50|m >>by_weight
mode1|Special Shipping|[subtotal noformat=1]|50|99999|e Free Shipping!

by_weight|Disc won't matter|weight|0|150|f @@TOTAL@@
by_weight|Disc won't matter|weight|150|99999|e Too Heavy!

when mode 1 is called, the subtotal will be checked...

1) if subtotal is $0 then the error "Nothing to ship!" will be returned
(as well as shipping being set to $0)

2) If subtotal is between $0 and $50 then shipping will look into by_weight
to calculate shipping and by_weight is set up to look at weight as a criteria
to determine shipping and, as by your example, will return $0 to $150 
(because @@TOTAL@@ will be the value of the total weight) or if greater
than 150 lbs will return the error "Too Heavy!" (and shipping will be $0)

3) if subtotal is greater than $50, then the call will not be made to
by_weight,
and so the error "Free Shipping!" will be returned along with $0 shipping
charge.

Hope this helps,
Kyle (KC)


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