[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Need help: Adjusting checkout.html
****** message to minivend-users from Dan Busarow <dan@dpcsys.com> ******
On Fri, 5 Mar 1999, Oliver Schade wrote:
> > UserTag vat HasEndTag
> > UserTag vat Interpolate
> > UserTag vat Routine sub { ($a) = @_; return $a-$a/1.16; }
>
> According to the minivend.cfg I changed this to
>
> UserTag vat hasEndTag 1
> UserTag vat Interpolate 1
> UserTag vat Routine <<EOF
> sub {
> my ($a) = @_;
> return ($a-$a/1.16);
> }
> EOF
>
> and included the suggested [vat][subtotal][/vat] in .../pages/ord/checkout.html
>
> But this results *always* in a number of 0 :-(( Any other ideas (yes, I
> restarted the server)?
It's probably the formating Frank mentioned, [subtotal noformat=1]
My sub works in the US locale but a , decimal point will break it.
Dan
--
Dan Busarow 949 443 4172
Dana Point Communications, Inc. dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
-
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