[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: shipping.asc - criterion with multiple values (Solution)
G'day,
Thanks very much for this Mike. It slotted in and worked out
perfectly for me.
<snip>
> You can't use two *values*, except...this might be a good illustration
> of chained shipping modes which exists but has never been documented.
>
> by_weight Shipping weight 1 10 m "[set base]10[/set]" >>by_sub
> by_weight Shipping placeh 10 20 m "[set base]20[/set]" >>by_sub
> by_weight Shipping placeh 20 9999 m "[set base]30[/set]" >>by_sub
>
> by_sub Shipping [subtotal noformat=1] 1 100 f [scratch base]
> by_sub Shipping placeholder_it_is 100 1000 f [scratch base] - 5
> by_sub Shipping placeholder_it_is 1000 10000 f [scratch base] - 10
>
> (placeholder is just an illustration that criteria doesn't matter here.)
>
> When the chained shipping mode >>by_sub is returned, the base cost is
> adjusted based on subtotal, with larger orders getting reduced shipping
> cost.
Cheers,
Gaelyne
//\ /\\ Gaelyne R. Gasson gaelyne@videocam.net.au
|| * \ . . / * || 90 Hilliers Rd Phone: +61 8 8322-2716
\\____\X/____// Reynella, S.A. 5161 Fax: +61 8 8387-5810
/ * /O\ * \ Australia ICQ: 5069384
\__/ " \__/ http://videocam.net.au http://vcsweb.com
C64/128 Support * Web Hosting * Web Design