close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

A client want to know if PowerStore can do this

Thread began 1/12/2012 8:15 am by admin140217 | Last modified 1/17/2012 4:42 pm by admin140217 | 1358 views | 3 replies

DougBBeta Tester

This is how I handled the dynamic question

I added 3 custom fields Paper, Background and laminate. These fields were added to the product detail page and shopping cart. The dynamic prompt value record set was joined based on changing values, similar to your case... see some of the code below where on the prompt value I am multiplying the chartlenth against the value, pulling in by productID..

see my website if this is what you were thinking, all my values are changing as the product length changes. This reduces the administration of changing values to dynamic instead of static.

hope this helps

<td class="paper"><select name="WA_Store_Cart_Paper_<?php echo $WA_Store_Cart->DisplayIndex; ?>" >
do {
<option value="<?php echo $row_rsPaper['chartpapervalue'] * $row_rsPaper['chartlenth']?>"<?php if (!(strcmp($row_rsPaper['chartpapervalue'] * $row_rsPaper['chartlenth'], $WA_Store_Cart->DisplayInfo("Paper")))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsPaper['chartpapername']?>

<?php if ($row_rsPaper['chartpapervalue'] != 0) { echo "$". $row_rsPaper['chartpapervalue'] * $row_rsPaper['chartlenth']; }
?> </option>
} while ($row_rsPaper = mysql_fetch_assoc($rsPaper));
$rows = mysql_num_rows($rsPaper);
if($rows > 0) {
mysql_data_seek($rsPaper, 0);
$row_rsPaper = mysql_fetch_assoc($rsPaper);

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