[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
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ö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