[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Minimum Purchase based on [subtotal]
****** message to minivend-users from "March Roseland" <march@uia.net> ******
Thank you, that works just wonderfully (as soon as I escaped the $)! I
still wonder why the [if explicit] version wouldn't work, but that's just
academic curiosity now. Thanks again!
-- March Roseland
----- Original Message -----
From: <kyle@invisio.com>
To: <minivend-users@minivend.com>
Sent: Tuesday, May 09, 2000 11:24 AM
Subject: Re: [mv] Minimum Purchase based on [subtotal]
> ****** message to minivend-users from "kyle@invisio.com"
<kyle@invisio.com> ******
>
> At 10:19 AM 5/9/00 -0700, you wrote:
> >****** message to minivend-users from "March Roseland" <march@uia.net>
> > ******
> >
> >Thanks, and shoot -- I was afraid of that. I tried noformat=1, even
though
> >it isn't documented for the [subtotal] tag, but no dice. I just tried
> >adding interpolate=1 in the various tags involved, also, but that didn't
> >seem to help either. noformat=1 definitely works in [subtotal] though,
so
> >that seems like it must be part of the puzzle.
> >
> <snip>
>
> Like I said, I don't use the condition tag much, if you just want to
> get it done though, this WILL work:
>
>
> [calc]
> $mtot = '[subtotal noformat=1]';
> if ($mtot >= 25) {
> return <<EOF;
>
> <B><INPUT TYPE=submit NAME=mv_click VALUE="[L]Place Order![/L]"
> onClick="fix_tax(this.form)"></B>
>
> EOF
> }
> return <<EOF;
>
> <font color="660000"><B><BR>
> You must make a minimum purchase of $25.
> Please add to your order.</b></font><br><BR>
>
> EOF
> [/calc]
>
>
> Kyle (KC)
>
> -
> 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
>
-
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