Posted - 07/31/2019 : 07:23:29
What is the link to the PHP code to post an item to the cart? I used the code below that I got from my ASP version but it does not work. It shows the slider image and gets you to the cart when you click on it but it does not add the item to the cart. The test web page is at https://www.waldenfarms.com/index4.php
<li> <form method="post" action="cart.asp"> <input type="hidden" name="id" value="88071"> <input type="hidden" name="mode" value="add"> <input type="image" src="banners/maplebaconsyrup.jpg"> </form> <!--<a href="products.php?cat=Syrups"> <img src="banners/maplebaconsyrup.jpg" alt="Maple Bacon Syrup" /></a>--> <!--<p class="caption">This is banner one ... </p>--> </li>
Edited by - ardade on 07/31/2019 07:54:20
|