[ic] Online Check Possible Bug 4.8.3 (OOPS not fixed)

Kevin Walsh interchange-users@interchange.redhat.com
Tue May 14 12:16:01 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
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/