[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] SHipping to AK and HI - a new can of worms
****** message to minivend-users from Eric Paul <epaul@spellbook.net> ******
Here's what I do for my customer. They have fixed shipping costs based on
weight, and a $10 surcharge for AK and HI. Here's a snippit from my
shipping.asc file. I'm sure you can modify this for your purposes.
code description criteria min max formula
fedex3 Fedex 3-day weight [value state] 0 0 0
fedex3 Fedex 3-day AK HI 0 0 0
fedex3 Fedex 3-day AK HI 0.25 1 5
fedex3 Fedex 3-day AK HI 1 4 15
fedex3 Fedex 3-day AK HI 5 14 18
fedex3 Fedex 3-day AK HI 15 20 23.5
fedex3 Fedex 3-day 0 0 0
fedex3 Fedex 3-day 0.25 4 5
fedex3 Fedex 3-day 5 14 8
fedex3 Fedex 3-day 15 20 13.5
fedex3 Fedex 3-day 21 999999 e Order is too heavy
At 02:01 PM 1/18/00 , you wrote:
>****** message to minivend-users from mediamob
><mediamob@dnaco.net> ******
>
>
>Just when I thought I was done - when I was actually in the process of
>shifting from the test to the live url - I remembered to check shipping to
>Alaska and Hawaii.
>
>Drat.
>
>Here's what I want to happen: If the state is Alaska or Hawaii, lookup
>cost in UPS 2 Day Air table - else, use UPS Ground table. Sounds easy, no?
>
>Having been here before, I did try a few things, including a search of the
>mailing list archive. It contained this helpful code fragment from mike:
>
>
>[if base=value name=state expr=" =~ /ak|hi/i"]
>[then]
>[set shipmode]callus[/set]
>[/then]
>[else]
>[set shipmode]upsg[/set]
>[/else]
>[/if]
>
>Which looked like it would do the trick, but on my page (based on the 3.11
>ord/checkout) never worked, i.e. [value shipmode] always returned
>empty. Since the above fragment was listed as a possibility for the
>upcoming MV 3.0, i thought the syntax may have changed, and indeed, I
>cannot find "base=" or "expr=" anywhere in the current docs for the [IF]
>statement - but this bit of code came with the page, and works:
>
>[if base=data
> term="country::shipmodes::[default country US]"
> op="=~" comp="[default mv_shipmode upsg]"]
>[then]
>
>So "base=data" means *something*, but I can't find out what. Anyone
>know? Anyone know where I should be looking? Is there a straightforward
>way to do this?
>
>Thanks,
>
>Pat
>
>-
>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
---
Eric Paul
SpellBook Systems
http://www.spellbook.net
-
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