[ic] One/Two Step Purchase?

Orko interchange-users@interchange.redhat.com
Wed Dec 5 16:47:01 2001


Thanks Mike!  The first example is what I was looking for.  I wasn't
using the $Carts reference correctly.

-- orko

----- Original Message -----
From: "Mike Heins" <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, December 05, 2001 1:22 PM
Subject: Re: [ic] One/Two Step Purchase?


> Quoting Orko (orkolist_interchange@hotmail.com):
> > Thanks, I'll take a look at those.  I've set up IC using the
foundation
> > tools demo, and am having trouble seeing how to accomplish the
two-page
> > subscription.  From what I see, there are submits required from the
user
> > to login, put an item in their basket, checkout, and finalize.  Is
there
> > code already out there that handles gathering the user data from the
> > first page and 'prefilling' the cart with a preselected item?
>
> Make a form to collect the data, and put this on it:
>
>     [calc]
>     $Carts->{main} = [
>     { code => 'os28007', quantity => 1 }
>     ];
>     return;
>     [/calc]
>
> Or do it by link:
>
>     [page href=ord/checkout
>     form="
> mv_order_item=os28007
> mv_action=refresh
>     "
>     ]Order Brush Set and go right to checkout[/page]
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
> phone +1.513.523.7621      <mheins@redhat.com>
>
> Experience is what allows you to recognize a mistake the second
> time you make it. -- unknown
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>