close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Powerstore 3...Quantities

Thread began 2/12/2010 5:57 am by derek371624 | Last modified 8/17/2010 6:38 pm by derek371624 | 1615 views | 20 replies

Jason ByrnesWebAssist

for one, the product options recordset code is inside an if statement that will only occur if there are simple options for the product, the recordset should be in the page head.

for two, you cant just do a simple select * from categories to get the correct category for the selected product.



You do a joined query to join the products table with the categories table via the productcategories table, and you need to filter the productid column on the ProductID querystring variable


SELECT ps3_categories.categoryname FROM
ps3_categories INNER JOIN (ps3_productcategories INNER JOIN ps3_products
ON ps3_productcategories.productid = ps3_products.productID)
ON ps3_categories.categoryid = ps3_productcategories.categoryid
WHERE ps3_products.productid = paramProdID

New parameter:
Name: paramProdID
Type: Number
Default Value: -1
RunTime Value: $_GET['ProductID']

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