[ic] Online Check Possible Bug 4.8.3 ( fixed again)

Dave Turk interchange-users@interchange.redhat.com
Wed May 15 00:03:00 2002


> > What I am trying to do now is set the payment_method to postal on the
> > chekout.html page before
> > [if !value payment_method]
> > How can I set this ahead of time and eliminate the credit card box from
> > showing up.
> > I have tried the following but I haven't figured out how to set it.
> > I have tried the following.
> > <INPUT TYPE=hidden NAME=payment_method VALUE=postal>
> >
> > and
> >
> > [set checkout]
> >   payment_method=postal
> >   [/set]
> >   <INPUT TYPE=hidden NAME=mv_order_profile VALUE="checkout">
> >
> > and
> >
> > [set payment_method]
> >   payment_method=postal
> >   [/set]
> >   <INPUT TYPE=hidden NAME=payment_method VALUE="postal">
> >
> > I must be on the wrong track.
> >
> You could use [value name="payment_method" set="postal" hide=1]
> to set your variable on the page or you could add a directive
> like "ValuesDefault payment_method postal" to you catalog.cfg
> file to set the initial default.
>
> As well as doing either of those, if you really don't need the
> credit card prompt/input code then you could simply delete the
> offending lines from your checkout page.
>
> --
>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
>  _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

I wanted to say thanks and that I did search for setting a variable on a
page but couldn't piece it together.
Hopefully the next guy that searches the list will find this message.
Dave