Akopia Akopia Services

[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 "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


Search for: Match: Format: Sort by: