close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Getting Add to Cart buttons, with Size Options, added to Products Page

Thread began 2/11/2016 3:56 pm by graham | Last modified 2/12/2016 8:40 pm by graham | 522 views | 11 replies


Thanks for taking the time to look at my issue, Ray. Please disregard the previous attachment, it was one version of my attempt to resolve the issue myself. The attachments to this post are more appropriate for demonstrating my request (sorry for any confusion).

Currently, my site flows from a Product Categories page linked to Category Products page (attached example - Face) linked to individual Product details pages - pretty standard and easy to setup with the Webassist tutorials. What I would like to do is offer Add to Cart buttons on the Category Products page, allowing customers who want to skip the formality of clicking through to the details page(s) to add to cart. The newly attached FaceProductsMainPage displays all products in the recordset and their appropriate "OptionPriceIncrement=0" prices correctly, along with a functioning Quantity select. The Add to Cart button will correctly pass on the details to cart.php. However, in trying to create the dynamic size option select for each product, I added the rsSize and rsSizeLookup recordsets to the page, just as I have on my Product details page ... they do not appear on the attached FaceProductsMainPage.

Interestingly, if I alter the rsFaceproducts recordset to sort by DESC, instead of ASC as attached, then size selects do appear for each product (as you might guess, the lowest price product in Face has OptionPriceIncrement=0, while the highest price product has OptionPriceIncrement>0), but with incorrect data - each select initializes with the same OptionName as the first product, but with the correct OptionPriceIncrement=0 price for the specific product, while the dropdown for each product subtracts the first product's OptionPriceIncrement value from each of the other products' prices (not their specific OptionPriceIncrement value).

Regardless of the mixed up size select options, each quantity selected will continue to pass on to the cart page at the particular product's OptionPriceIncrement=0 price - completely ignoring the size options.

The updatePrice function that you helped me with awhile back, works for the first product, but not any others on the page.

Phew - hope you can work with the description - thanks for your thoughts.

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