[ic] Remove link in Interchange Basket

Ed LaFrance interchange-users@lists.akopia.com
Wed Aug 1 13:28:00 2001


At 11:16 PM 07/31/2001 +0200, you wrote:
>Chad Wittrock wrote:
> >
> > How do I get the Remove checkbox to work in my own catalog? I copied the
> > link from the Construct example, but when I click on the checkbox I am sent
> > to a blank page with nothing but this error on it:
> >         No action passed for processing

FWIW - The error 'No action passed for processing' usually means that 
mv_todo was not set to valid value on the submitted form.  On a basket 
page, it would usually be 'refresh' or 'return'.

- Ed L.


> >
> > Where is this form submitting to? Do I need to define another page, if so,
> > is there an example I can see?
> >
> > This is my code for the checkbox:
> >         <input type=checkbox name="[quantity-name]"
> > onClick="document.forms[0].action='[process-target]',
> > document.forms[0].submit()" value=0>
> >
> > What is [process-target]? Does that link to some page that processes the
> > remove and then returns to basket.html?
> >
> > Any help is appreciated in getting the Remove checkbox working in my
> > basket.html.
>
>I've gotten the same misbehavior and couldn't try out the cause. But
>with a big help from Racke, I use another codes like
>
>[perl interpolate=1]
>$i = 0; @qs = ();
>for (@$Items) {
>     if ($i == '[item-increment]' - 1) {
>         push (@qs, 'quantity' . $i++ . '=0');
>     } else {
>            push (@qs, 'quantity' . $i++ . '=' . $_->{quantity});
>     }
>}
>$Scratch->{qlist} = join ("\n", @qs); '';
>return '';
>[/perl]<a href="[area form="
>                     mv_action=order
>                    mv_doit=refresh
>                    mv_nextpage=ord/warenkorb_anzeige
>                    [scratch qlist]
>                    "]"
>                    target="inhalt"><img src="symbol_delete.gif"
>width="18" height="18" alt="L&ouml;schen" border="0"></a>
>
>inside the item-list part.
>
>Hope this can help you.
>
>Joachim
>
>--
>------------------------------------------------------------------
>  Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing.
>              Black Point Arts Internet Solutions GmbH
>    [Hans-Joachim.leidinger@bpanet.de]  w w w . b p a n e t . d e
>_______________________________________________
>interchange-users mailing list
>interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================