close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Product Options with eCart-Value for Color in cart is ProductOptionID not OptionName

Thread began 1/22/2012 11:10 am by greg_herr420504 | Last modified 1/24/2012 11:55 am by greg_herr420504 | 1718 views | 5 replies

greg_herr420504

Good Afternoon Jason,

Thanks for the reply. That's what I had been attempting to do, I think. After successfully setting everything up to work with the tutorial 'as is' I went back and created a recordset for rsColorLookup. Not having a good knowledge base on the coding I changed the record set slightly using rsSizeLookup as the base. Swapping out 'size' with 'color'. When I open the 'eCart Add From Record Set' and select 'color' then attempt to uncheck 'updatable' and bind it in the same way as 'size' is to 'sizePriceInc' it seems to go fine, but when I hit 'ok' to get back to dreamweaver my list/menu for color disappears completely. Maybe I'm just going in a faulty order or something, but trying to follow the directions for 'size' exactly to create this one.

Appreciate the continued support.

Here is what the recordsets looks like:

Name: rsColor

SQL: 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

Variables:
Name: paramItem
Type: Numeric
Default value: -1
Run-time Value: $row_WADAproducts['ProductID']


Name: rsColorLookup

SQL: 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.ProductOptionID = paramOption AND productoptions.ProductID = paramItem

Variables:
Name: paramOption
Type: Numeric
Default value: -1
Run-time Value: $_POST['maddenBMX_eCart1_1_color_Add']

Name: paramItem
Type: Numeric
Default value: -1
Run-time Value: $_POST['maddenBMX_eCart1_1_ID_Add']

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