[eluser]Dauntless[/eluser]
Hi,
I have a list of products (=catalog) where you can order the products by entering the amount and pressing 'order'. Now, you click the 'order' button directly from the product list (and not from a separate product-page). I have a controller function 'addToCart' that accepts 2 arguments: productID & amount. How can I put these things to getter? The user has to fill in a number (the amount), press 'order' and it should go to 'addToCart/productID/amount' .
Can this be done? Or do I have to rewrite the 'addToCart' function so that it processes $_POST ?
Greets,
Dauntless