close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Product Options Issues

Thread began 10/14/2010 1:31 am by rob256926 | Last modified 10/20/2010 1:01 pm by Jason Byrnes | 1045 views | 5 replies |

rob256926

Product Options Issues

I'm using the Product Options tutorial to try to drop size and color options into my store.

When I test my store the dynamic list/menu is not populating. If I change the "Options from recordset" from my rsColor to the products record set, rsProducts, the list will populate with all of my products.

Here is my SQL Code:
SELECT productoptions.OptionPriceincrement, productoptions.ProductOptionID, options.OptionName, options.OptionGroupID, optiongroups.OptionGroupName
FROM options INNER JOIN productoptions ON options.OptionID = productoptions.ProductOptionID INNER JOIN optiongroups ON options.OptionGroupID = optiongroups.OptionGroupID
WHERE optiongroups.OptionGroupName = 'color' AND productoptions.ProductID = paramItem

And the Variables
Name: paramItem
Type: paramItem
Default Value: -1
Runtime Value: $row_rsProducts['ProductID']

When I created my add to cart button I left the color "Default Value" blank under the Bindings tab. Should this have a database call in it? I'm also not doing a price increase so I didn't do anything with the sizeInc. calculations.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of the page so i can see the entire code in context, this will help me see where the issue is.

Sign in to reply to this post

rob256926

Here you go

Attached Files
Shop_Lehani.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

DarylBeta Tester

Hi Rob

When you get a solution, could you post it here as I will soon be attempting this....

Sign in to reply to this post

Jason ByrnesWebAssist

we found a problme in the SQL.


we edited the SQL to:
SELECT productoptions.OptionPriceincrement, productoptions.ProductOptionID, options.OptionName, options.OptionGroupID, optiongroups.OptionGroupName
FROM options INNER JOIN productoptions ON options.OptionID = productoptions.OptionID INNER JOIN optiongroups ON options.OptionGroupID = optiongroups.OptionGroupID
WHERE optiongroups.OptionGroupName = 'color' AND productoptions.ProductID = paramItem


to get the options working.


This change will be made in the documentation as well.

Sign in to reply to this post

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