[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Problem with Shopping Cart.
This works in 3.11 and should work for you
<input type="image" SRC="yourpic2.gif" BORDER=0 name="mv_click.Check_out">
<INPUT TYPE=hidden NAME="mv_click_map" value="Check_out">
reoeat this for each button you need and of course make sure
that with each value ="FOO", there is a [set Foo]...[/set] on the
page. More info is available by searching the list for terms like
mv_click_map
Kyle Cook
At 08:49 PM 7/14/99 -0700, you wrote:
>****** message to minivend-users from "Aboubacar S. N. Diare"
><asd@sykemo.CCIT.Arizona.EDU> ******
>
>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.
>
>-
>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
http://www.invisio.com
Web site design, database driven sites,
and shopping cart programming.
Great sites, value priced!