You need to move the recordset code from lines 116-120 down inside the repeated region after what is currently line 551 so that it is recreated for each product.
Then you need to filter the recordset using the productID so that it only shows records for the current row. To do that, filter the recordset using a URL parameter ProductID and then add this row above the recordset:
<?php
$_GET['ProductID'] = $row_WADAProd['ProductID'];
?>