options info not making it to productoptions table
OK Jason. I followed Andrew's tutorial. All the product info is inserting fine, but my options are not making it to the productoptions table. I'm not sure where I'm going wrong, but let's start with the code for the table row for the option (size). BTW, I am using the eCommerce DB table structure.
<?php do { ?>
<tr>
<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_rsSizes){
?>
<th class="WADADataTableHeader">Sizes:</th>
<td width="35" class="WADADataTableCell"><input type="hidden" name="WADA_RepeatID_OptionID_<?php echo $RepeatSelectionCounter_1; ?>" id="WADA_RepeatID_OptionID_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo $row_rsSizes["OptionID"]; ?>" />
<input <?php if (!(strcmp($row_rsSizes['OptionID'],WA_AB_returnPreSelectValue($WA_PreSelect_RelationalTable_1, $row_rsSizes['OptionID'])))) {echo "checked=\"checked\"";} ?> type="checkbox" name="size_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo $row_rsSizes['OptionID']; ?>" id="size_<?php echo $RepeatSelectionCounter_1; ?>" />
<?php echo $row_rsSizes['OptionName']; ?></td>
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
<td>No records match your request.</td>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_rsSizes && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_rsSizes = mysql_fetch_assoc($rsSizes);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>
</tr>
<?php } while ($row_rsSizes = mysql_fetch_assoc($rsSizes)); ?>