
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] order multiple items once a time with a form page
"Stefan Hornburg (Racke)" wrote:
> > <FORM ACTION="[process-target]" METHOD=POST>
> > <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh">
> > <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="ord/warenkorb_anzeige">
> > <INPUT TYPE="hidden" NAME="mv_orderpage" VALUE="ord/warenkorb_anzeige">
> > <INPUT TYPE="hidden" NAME="mv_session_id" VALUE="[data session id]">
> > <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity">
> > ...
> > <input type=hidden name="mv_oi1" value=""><INPUT TYPE="text"
> > NAME="mv_order_quantity" SIZE=3 VALUE="">
> > ... up to
> > <input type=hidden name="mv_oi32" value=""><INPUT TYPE="text"
> > NAME="mv_order_quantity" SIZE=3 VALUE="">
> > ...
> > <INPUT TYPE="submit" VALUE="Bestellen">
> >
> > It works fine until an user make a typo. I've 32 input field. If an user
> > choose 2 items and the one sku of the one item is wrong, I get 31 lines
> > in my error.log like
> >
> > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos
> > /cgi-bin/intos/process.html Attempt to order missing product code:
> > 654654
> > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos
> > /cgi-bin/intos/process.html Attempt to order missing product code:
> > [DEL 30 other same lines like above.
> >
> > How can I prevent it? I know, there are a solution to check for an
> > existing items and I can write this kind of check. But I believe and
> > think, it is a big feature, if IC are able to check for an existing
> > items, go back to that page and make the line with the wrong field red
> > by error or report the user about the error. Hmmm...maybe a new IC Tag
> > like [if session ordererror] ...[/if] to print out for example "SKU 1234
> > is not available" is the fastest new implementation? Any suggestions?
>
> Why ? I think the stock features of IC are sufficient. Furthermore
> you can use the "formel" tag to save some typing.
I'm in a muddle. I've search the mailinglist for an example with the
formal tag. See
http://developer2.akopia.com/archive/interchange-users/2001/msg01353.html
I'm unsure about the right using of that tag. Did that formel tag print
out a message like
"SKU 12345 is not available! Please remove it from this page or choose
another item!"
?
Racke,
have you another example for a stupid boy like me?
Thank you a lot for your time!
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users