[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Forcing a shipping mode based on product
****** message to minivend-users from mikeh@minivend.com ******
Quoting Reuven M. Lerner (reuven@lerner.co.il):
>
> Is it possible to force shipping modes based on a product? That, if
> the user selects a particular product, their shipping options are
> restricted to a subset of what should normally be possible for that
> destination.
>
> Those of you who have ordered music from Amazon.com from outside of
> the United States might be familiar with this; ordering even one CD
> with your book shipment forces you to use surface mail, rather than
> air mail. My client has requested something similar, where a
> particular product can only be sent via next-day air.
>
> It seems to me that MiniVend's products and shipping modes exist in
> two different universes, meeting only when the user places an order --
> which would mean that such a scheme shouldn't be possible. However, I
> long ago stopped believing that anything is impossible for MiniVend.
>
One question I saw recently is an FAQ:
usps Mail price 0 1000 x .10
This works fine as long as your pricing is just
the "price" field. But if it isn't, there are many other
ways.
This type of question is becoming common enough that I need
to put this out in someplace besides the documentation:
--- The criterion can be more than just the products database
usps Mail pricing:price 0 1000 x .10
--- The "criteria" field can hold more than just a field name
usps Mail [subtotal noformat=1] 0 1000 x .10
--- The "cost" field can hold more than just a number
usps Mail placeholder 0 1000 f [subtotal noformat=1] x .10
Any of these produce a 10% shipping cost on the subtotal depending
on pricing method.
--- There is CommonAdjust shipping just like there is CommonAdjust pricing
usps Mail placeholder 0 1000 m products:shipping, ==products:insurance
All work fine.
And if you need to qualify something:
[set restricted_shipping][/set]
[item-list]
[if-field restricted_shipping]
[set restricted_shipping]1[/set]
[/if-field]
[/item-list]
[if scratch restricted_shipping]
[set shipmodes]surface[/set]
[else]
[set shipmodes]air surface[/set]
[/else]
[/if]
You get the idea.
Shipping is much like anything else in MiniVend. There is more
than one way to do it.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
Clothes make the man. Naked 131 Willow Lane, Floor 2 | || _ \
people have little or no Oxford, OH 45056 | || |_) |
influence on society. <mikeh@minivend.com> |___| _ <
-- Mark Twain 513.523.7621 FAX 7501 |_| \_\
[
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 513.523.7621 FAX 7501 |_| \_\
-
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