[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] Shipping Cost On Each Item
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
At 04:59 PM 4/12/00 , you wrote:
>****** message to minivend-users from "Christopher Thompson"
><ct@arborinternet.com> ******
>
>I believe Mike Heins posted a UserTag template a while back to use with
>shipping, or perhaps it was a GlobalSub. I think you would write your own
>routine and then, in your shipping.asc file, specify to use that routine
>and a field of your choice to calculate shipping. Perhaps Mike might be
>kind enough to post the template and instructions again on how to do this.
With a little work, you could use this (from Mike Heins) to achieve your goal:
>****** message to minivend-users from mikeh@minivend.com ******
>
>I see lots of questions like this, perhaps this can be made into
>an FAQ (if I ever get some time!).
>
>This is where mv_handling is supposed to help.
>
>In catalog.cfg:
>
>Variable CHECK_TOBACCO <<EOF
>[calc]
> [item-list]
> [if-data products tobacco]
> [item-subtotal noformat] +
> [/if-data]
> [/item-list]
> 0;
> # Add 0 to make calculation come out OK with trailing plus.
>[/calc]
>EOF
>
>In shipping.asc:
>
>tobacco Tobacco Tax __CHECK_TOBACCO__ 0.01 100000 f
>@@TOTAL@@ * .16
>
>In your products.asc, add a field "tobacco" that is set non-blank
>if a tobacco product.
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://yamamoto.baits.com
Gary Yamamoto Custom Baits, Inc. http://www.insideline.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