[ic] Remove link in Interchange Basket

Chad Wittrock interchange-users@lists.akopia.com
Wed Aug 1 12:30:54 2001


I inserted this code into [item-list] in my basket.html. When I click on the
link it opens a new page with the error "No action passed for processing"
and the original page is left unchanged. Did you come across this problem?
What does " mv_nextpage=ord/warenkorb_anzeige" do? Do I need a page called
warenkorb_anzeige or specify my own name? What is this page supposed to do?

Sorry to keep bothering, but I would like to get this working
Chad

-----Original Message-----
From: interchange-users-admin@developer.akopia.COM
[mailto:interchange-users-admin@developer.akopia.COM]On Behalf Of
Joachim Leidinger
Sent: Tuesday, July 31, 2001 4:16 PM
To: interchange-users@developer.akopia.COM
Subject: Re: [ic] Remove link in Interchange Basket


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