using post rather than url to delete a product
Posted: Sat Jan 20, 2007 2:03 pm
The following line deletes a product in my shopping cart by placing an action straight on the url of the cart. How could deleting a product be achieved without placing anything on the url ?
The line:
The line:
Code: Select all
<input type=\"hidden\" name=\"action\" value=\"submit\" /><a href=\"Cart.pfs?action=delete&id=$line_no\"><img src=\"./images/trashicon.gif\" width=\"16\" height=\"16\" alt=\"Remove $data[1] from Basket?\" /></a>