[ic] [ice] Getting ride of credit card box at checkout

Gert van der Spoel gert at 3edge.com
Mon Feb 9 19:33:20 UTC 2009

> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of kerry
> Sent: Monday, February 09, 2009 9:01 PM
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] [ice] Getting ride of credit card box at checkout
> I put the files back to original, except the variable.txt and all of
> the
> checkout methods work right except the Express checkout option. I will
> take the 0 back out and see it that works.
> > Yes but you don't need to do that quick look at the archives brought
> up
> > this:
> >
> > http://www.icdevgroup.org/pipermail/interchange-users/2002-
> September/025479.
> > html
> > "
> > Put in catalog.cfg:
> >
> >     ValuesDefault  payment_method   po

I think it has to do with the last lines in 

include/checkout/new_browser_payment (and maybe others, didn't look further)

        visible('[either][value mv_order_profile][or]credit_card[/either]');

When you get there first time around mv_order_profile is probably not set,
so it will automatically put the 'credit_card' div as visible ... Doesn't
make sense if you do not have any option for creditcard ... So you could
actually rip out all the divs that do not pertain to your site as they are
useless ... 

But else you might be done by removing those 3 lines .. or changing
'credict_card' to 'purchase_order' for your situation.



More information about the interchange-users mailing list