View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Item by Color

Thread began 5/21/2009 3:04 pm by jenbar3378469 | Last modified 5/21/2009 5:30 pm by jenbar3378469 | 1253 views | 7 replies

Ray BorduinWebAssist

Looks like you may have misunderstood. How many items are in your catalog? Do you even need a database for this?

Lets run with you do for arguments sake.

You should have two recordsets. One rsGolfUmbrella that you already had, and another for rsGolfUmbrellaColors... Then you should be populating the list in the add to cart form from the second recordset using the "Dynamic" button in the properties panel.

But really you may not need a recordset... would it work if you just used:
<form name="sumidrive1_15_ATC_<?php echo $row_rsGolfUmbrella["golfId"]; ?>" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<input type="hidden" name="sumidrive1_15_ID_Add" value="<?php echo $row_rsGolfUmbrella["golfId"]; ?>" >
<input name="sumidrive1_15_Quantity_Add" type="text" class="qtyformelem" value="1" size="4" >
<select name="sumidrive1_15_Color_Add">
<option value="Black" selected="selected">Black</option>
<option value="Navy">Navy</option>
</select>
<input name="sumidrive1_15_ATC" type="image" class="cartbutton" value="Add to Cart" src="/assets/misc images/cart.gif" alt="Add to Cart" border="0">
</form>

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

Content

rating

Layout

rating

Ease of use

rating

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...