close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Product Options

Thread began 7/05/2011 2:58 pm by admin394099 | Last modified 4/16/2012 4:32 pm by admin394099 | 8663 views | 30 replies


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 { ?>
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
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>
} // RepeatSelectionCounter_1 Begin Alternate Content
<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 End Loop
<?php } while ($row_rsSizes = mysql_fetch_assoc($rsSizes)); ?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...