Akopia Akopia Services

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

Re: [mv] Forcing the shipping type based on product



******    message to minivend-users from Ed LaFrance <edlafrance@printexusa.com>     ******

At 11:56 PM 3/1/00 +0200, you wrote:
Reuven-

I don't have much experience with the shipping portion of Minivend, but you 
could do what you want pretty easily with an extra field in the products 
file and some page logic.  For instance, add a column to products called 
"express_only", and put a "1" in that field for each item that must ship by 
express mail.  You could then add logic to the cart item list on the 
checkout page to see if any of the ordered items fit the criteria, and do 
something like set a scratch variable:

[if data products::express_only::[item-code]]
         [set force_express]1[/set]
[/if]

You could then use the scratch variable to limit shipping choices, 
essentially forcing the user to go with express mail:

<SELECT NAME=mv_shipmode>
[if scratch force_express]
<OPTION SELECTED VALUE="exml">Express Mail
[else]
<OPTION SELECTED VALUE="upsg">UPS Ground
<OPTION VALUE="upsb">UPS Two Day
<OPTION VALUE="upsr">UPS Next Day
<OPTION VALUE="exml">Express Mail
[/else]
[/if]
</select>

I'm sure that someone else has another (probably more graceful) way to do 
it, but this would get the job done if you are in a bind.

- Ed L.



>******    message to minivend-users from "Reuven M. Lerner" 
><reuven@lerner.co.il>     ******
>
>One of my clients seems to delight in having a complicated shipping
>system.  Usually, the shipping cost depends on the number of products
>being sent out -- for example, it might cost $9 for the first item,
>and $2 for each additional item.  If the user chooses "Express Mail,"
>then those numbers go up by a bit, to something like $12 for the first
>item and $3 for each additional item.
>
>For this, we're using MiniVend's "quantity" shipping algorithm.  (In
>the case of the continental United States, where shipping is free for
>orders over $100, we're using the "price" algorithm instead.)
>
>The thing is, some items can *only* be shipped by Express Mail, rather
>than by regular mail.  Is there any way to tell MiniVend this,
>basically saying, "If the user orders any of items X, Y, or Z, then
>Express Mail is the only delivery allowed method"?  I've been through
>the documentation several times, and can't see an obvious way to do
>this.
>
>By the way, we're still using MiniVend 3.14-5.
>
>Thanks for any and all suggestions!
>
>Reuven
>
>-
>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

Printex Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
858-513-2418
800-982-1928
858-513-2419 FAX
http://www.printexusa.com

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