[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] mv_nextpage?
****** message to minivend-users from cfm@maine.com ******
On Wed, May 31, 2000 at 01:21:02PM -0400, Tev Kaber wrote:
> ****** message to minivend-users from Tev Kaber <tev.kaber@acadia.net> ******
>
> I should probably add that I am using MiniVend 3.14 on a BSD system.
>
> >Hi all! I have a client who wants a particular flow through a site, so a
> >visitor would select from one set of items, and when they click "Order" it
> >brings them to the next set of items, from which they go to the next set,
> >and so on until the last one sends them to the shopping cart page.
> >
> >The default way it works is to send you directly to the shopping cart page
> >any time you click "Order".
> >
> >I tried using the "mv_nextpage" variable to make it go to a different page,
> >as seen below, but it doesn't work. What's the proper way to do it?
> >
> ><FORM ACTION="[process-target]" METHOD=POST>
> > Quantity:
> > <INPUT SIZE=3 NAME=mv_order_quantity VALUE="1"><BR>
> > <INPUT TYPE=SUBMIT VALUE="[L]ORDER NOW[/L]">
> > <INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE="index.html">
> > <INPUT TYPE=hidden NAME=mv_order_item VALUE="001">
> > <INPUT TYPE=hidden NAME=mv_separate_items VALUE="1">
> ></FORM>
I forget how we did that. The default order page is specified
in catalog SpecialPage.
Look in bin/minivend around line 1200:
$nextpage = $CGI::values{'mv_nextpage'} || $Vend::Session->{'page'};
$orderpage = $CGI::values{'mv_orderpage'} || find_special_page('order');
etc...
If my memory serves me, it depends on how you submit, eg POST or GET. In
your case I'm thinking you can just set mv_orderpage.
> >
> >Thanks for any help!
>
>
> -------------------------
> Tev Kaber, Web Designer
> AcadiaNet/Prexar
> tev.kaber@acadia.net
> http://www.acadia.net
> -------------------------
> -
> 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
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
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