Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [mv] [mv4] add items to basket



******    message to minivend-users from Cameron Prince <PRINCECB@novachem.com>     ******

Hey Joel,

Try this to go to the checkout page when the form is submitted.

I have not used mv_order_group before, so I am guessing.

<FORM ACTION="[process secure=1]" METHOD="POST">
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE=hidden NAME=mv_doit          VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_nextpage      VALUE="ord/checkout">
<input type=hidden name=mv_order_group value=1>

[loop arg="[scratch SELECTION]"]
<input type=hidden name=mv_order_item value="[loop-code]">
[/loop]

<input type=submit value="ORDER">

</form>


Here is a form I use for selecting multiple items:


<table border="0" cellpadding="4" cellspacing="0" width="100%">
<FORM ACTION="[process-target]" METHOD=POST name="contact">
<INPUT TYPE=hidden  NAME="mv_todo" VALUE="refresh">
<tr>
<td valign="top"><input type="checkbox" NAME="mv_order_item"
value="IECONTACT01"><td>
<td valign="top"><font face="verdana,helvetica,arial" size="1">[description
code="IECONTACT01"]</font></td>
<td align="right" valign="top"><font face="verdana,helvetica,arial"
size="1"><b>[price code="IECONTACT01"]</b></font></td>
</tr><tr>
<td colspan="3">&nbsp;</td>
</tr><tr>
<td valign="top"><input type="checkbox" NAME="mv_order_item"
value="IECONTACT02"><td>
<td valign="top"><font face="verdana,helvetica,arial" size="1">[description
code="IECONTACT02"]</font></td>
<td align="right" valign="top"><font face="verdana,helvetica,arial"
size="1"><b>[price code="IECONTACT02"]</b></font></td>
</tr><tr>
<td valign="top"><input type="checkbox" NAME="mv_order_item"
value="IECONTACT03"><td>
<td valign="top"><font face="verdana,helvetica,arial" size="1">[description
code="IECONTACT03"]</font></td>
<td align="right" valign="top"><font face="verdana,helvetica,arial"
size="1"><b>[price code="IECONTACT03"]</b></font></td>
</tr><tr>
<td colspan="3">&nbsp;</td>
</tr><tr>
<td colspan="3"><INPUT TYPE=image src="button-add-to-quote.gif"
border=0></td>
</tr>
</form>
</table>


This one loads the basket, not checkout. So you would have to add the
mv_nextpage to make it go where you want it to.


I hope this helps,


Cameron



-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Joel Vandal
Sent: Tuesday, May 02, 2000 12:37 PM
To: minivend-users@minivend.com
Subject: RE: [mv] [mv4] add items to basket

******    message to minivend-users from "Joel Vandal" <jvandal@9bit.qc.ca>
******

I've tried without success :( But does this "action" will go directly to the
basket or to an order page ? What I want is an order page :P
******    message to minivend-users from Cameron Prince
<PRINCECB@novachem.com>     ******

You may need to add this to your form:

                <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session
id]">

******    message to minivend-users from "Joel Vandal" <jvandal@9bit.qc.ca>
******

When I click on submit, I want to take all items from my scratch arg and
show an order page... here my code, and error message... need help... :(

********** In my html page : **********

[comment]
Source/Example from a mail from Ed Lafrance on minivend-users list
[01-May-2000]
[/comment]

<form action="[process-target]" method=post>
*** <input type=hidden NAME=mv_session_id VALUE="[data session id]">
<input type=hidden name=mv_order_group value=1>

[loop arg="[scratch SELECTION]"]
<input type=hidden name=mv_order_item value="[loop-code]">
[/loop]
<input type=hidden name=mv_todo action=refresh>
<input type=submit value="ORDER">

</form>

********** Result: **********

Interaction Error
--------------------

Something has gone wrong, and we did not receive the response we expected
from your browser. There was the following problem:
No action passed for processing
Note on common causes of this problem:



-
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
-
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


Search for: Match: Format: Sort by: