[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Advice on quantity-range surcharges
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 14-Aug-99 mikeh@minivend.com wrote:
> ****** message to minivend-users from mikeh@minivend.com ******
>
> Quoting Brian Knotts (bknotts@europa.com):
>
>> I did try putting this on the checkout page, but it didn't seem to have any
>> effect:
>>
>> [discount C1]
>> return ( $s + $75 ) if $q >= 5000;
>> return ( $s + $65 ) if $q < 5000;
>> return ( $s + $55 ) if $q < 1000;
>> return ( $s + $45 ) if $q < 500;
>> [/discount]
Yes. I actually mistyped when I put in the post. I didn't actually try to use
dollar signs in there. No, really. It should have read:
[discount C1]
return ( $s + 75 ) if $q >= 5000;
return ( $s + 65 ) if $q < 5000;
return ( $s + 55 ) if $q < 1000;
return ( $s + 45 ) if $q < 500;
[/discount]
Just to make sure, I tried again, putting the above in two different places. It
had no effect.
- ---
- ------------------------------------------------------------------------
Brian Knotts bknotts@europa.com
Webmaster/Developer/Portland SysAdmin (503) 222-9508
Europa/NWLink Fax: (503) 796-9134
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.7 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE3uECLKV5kReY9sP8RAvhUAJ9hCZm/Z0oQFx7+2X8GqSElIMPOWQCfS1Zm
BiuPAimc1uEwV112BLnsOt8=
=DajV
-----END PGP SIGNATURE-----