MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

changing mv definitions



******    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?

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


Search for: Match: Format: Sort by: