close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Select a specified quantity from many products

Thread began 12/13/2010 12:21 pm by eaefaw380137 | Last modified 12/14/2010 8:44 am by Jason Byrnes | 1080 views | 1 replies |

eaefaw380137

Select a specified quantity from many products

Not sure if the Topic title accurately reflects what I need to accomplish, but I will do my best to explain it here and hopefully someone can steer me in the right direction.

I am selling boxed truffles in the amount of 16 per box at a set price. I want the user to be able to choose any combination of the 16 pieces from a selection of 20+ truffles. (Example: Qty 2 of Truffle A, Qty 6 of Truffle B, Qty 1 of Truffle J etc... until 16 truffles have been selected).

A "must" have would be the need for some kind of validation to ensure that they choose the right number (16) of truffles. A "would like" to have would be the ability to show in the cart/checkout the truffle selection breakdown by item name/quantity. I currently have all of the products in a database and have created a recordset (with repeating region) on the page. I would like to know if something like this is possible using the current functionality of data assist and eCart

Thanks in advance for your assistance.

Sign in to reply to this post

Jason ByrnesWebAssist

the simplist way to accomplish this would be to create 16 new columns in the eCart object one for each truffle.

then in the add to cart button, set each of the 16 columns to be updateable from a select list.

populate each of the 16 columns with all 20 of the available truffles.


this will ensure that only 16 truffles can be selected, but will have the draw back of the customer having to select truffle A 4 times if that is how many they want.


it _Could_ be done where you had a quantity box next to each select list, but in this case, you would need to hand code the logic to ensure that the total quantity of items selected was 16.

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