[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: MV3.12 modify [total-cost]
****** message to minivend-users from Marius Schaefer <maillist@b-p-a.com> ******
Hi jojo,
this should work but will also produce an error in the error.log
Maybe [currency][calc][subtotal noformat=1]-[subtotal noformat=1]+100[/calc][/currency] would be the better solution. I will
give this a try (even if I don´t need it, but I wanna know if it works.)
jojo wrote:
> ****** message to minivend-users from jojo <hans-joachim.leidinger@home.gelsen-net.de> ******
>
> Marius Schaefer wrote:
> >
> > ****** message to minivend-users from Marius Schaefer <maillist@b-p-a.com> ******
> >
> > Hi,
> >
> > well, I don´t need it anymore, but I think it will be interesting how it should work. I was thinking about something like
> >
> > [perl values]
> > [total-cost] = 100;
> > [/perl]
> >
> > This must be done with "save" of course. The "example" is just to show the syntax.
> >
>
> Try this
>
> [currency][calc][subtotal noformat=1]*0+100[/calc][/currency]
>
> any value is set to 0,00 and then set to 100! :-)
>
> Joachim
>
> --
> Hans-Joachim Leidinger hans-joachim.leidinger@home.gelsen-net.de
>
> -
> 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