[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: changing mv definitions
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
At 10:42 AM 6/5/99 , Andreas Kotowicz wrote:
>****** message to minivend-users from Andreas Kotowicz
<koto@mynetix.de> ******
>
>Hi all!
>
>there are these special variables like "item-price, item-subtotal,
>subtotal, total .." I'd like to make the value of these variables depend on
>a status, a user does have. like:
>
>[if scratch haendler eq yes]
>[set item-price][currency][calc][item-price
>noformat=1]/100*75[/calc][/currency][/set]
>[set total][currency][calc][total noformat=1]/100*75[/calc][/currency][/set]
>[/if]
>
>You know what I mean? (this code doesn't work, it's just for showing, what
>I mean)
>
>I know, it also works, doing this (following) in each case:
>
>[if scratch haendler eq yes]
>[currency][calc][item-price noformat=1]/100*75[/calc][/currency]
>[else]
>[item-price]
>[/else]
>[/if]
>
>But that's no clean solution. Is there any possibility giving these values
>any dependencies?
If it's not clean, meaning, that it is a big piece of code, you could
write a global sub or user tag?....
>
>Andreas
>PS: there is a german mailinglist available: write "subscribe minivend-de"
> to majordomo@minivend.com
>-
>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
>
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
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