[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Problem with Shopping Cart.
Hello list.
I have succefully configured minivend 3.14 on a LINUX box running RedHat
5.2. Thanks again to the people who sent me pointers.
I am having problem with my basket.html file.
I slightly modified the original basket.html (the one that runs with the
"simple" template on the minivend demo) by replacing some of the submit
buttons by pictures but now when i click on the picture they don't do
anything. the page reloads to the content of the shopping cart again.
When i change the number of items to order and click on the picture I have
for "recalculate", that works fine and the page updates with the amount
adjusted accordingly.
The orginal basket.html ooks like this:
<FORM>
.........
<INPUT TYPE=checkbox NAME="[quantity-name]"
onClick="this.form.action='[process-target]',this.form.submit()"
VALUE=0> </FONT><FONT
SIZE="-1">[L]remove[/L]</FONT>
<input type="submit" onClick="this.form.action='[process-target]'"
name="mv_submit" value="[L]Recalculate[/L]">
<INPUT TYPE="submit" onClick="this.form.target='_top'"
NAME="mv_click" VALUE="[L]Check out[/L]">
<input type="submit" onClick="this.form.action='[process-target]'"
name="mv_click" value="[L]Continue shopping[/L]">
<input type="submit" onClick="this.form.action='[process-target]'"
name="mv_click" value="[L]Stop shopping[/L]">
........
</FORM>
My bakset.html contains
********** For some reason this one works **********************
<input type="image" onClick="this.form.action='[process-target]'"
name="mv_submit" SRC="recalc.gif" BORDER="0">
************************************************************
**************** These don't work **********************************
<INPUT TYPE="image" NAME="[quantity-name]"
onClick="this.form.action='[process-target]', this.form.submit()"
SRC="remove.gif" BORDER="0" VALUE="0">
<INPUT TYPE="image" onClick="this.form.target='_top'" NAME="mv_click"
SRC="checkout.gif" VALUE="[L]Check out[/L]" BORDER="0">
<input type="image" onClick="this.form.action='[process-target]'"
name="mv_click" SRC="contshop.gif" BORDER="0">
<input type="image" onClick="this.form.action='[process-target]'"
name="mv_click" SRC="stopshop.gif" BORDER="0">
*****************************************************************
I have unsuccessfull tried many other things.
Can someone help.
Aboubacar.