Add to Cart Button for Individual DataAssist Results Page Items
Is there a better way to do this?
I need individual Add to Cart buttons for a DataAssist Results page. I created an Add to Cart button in a separate form on the page, then copied the button code into the repeating table code for the results. I changed the main form action to the form action for the eCart burron form, then commented out all unneeded code.
When I click on a button it goes to the mycart.php page, but it sends the ProductID for the last item in the page recordset, not picking up the $row_WADAproducts["ProductID"] variable (10 items / page).
Page code is attached -- thanks,