close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

shopping options with different price based on options

Thread began 3/11/2010 2:16 pm by tim299030 | Last modified 3/12/2010 12:47 pm by tim299030 | 1259 views | 4 replies

tim299030

shopping options with different price based on options

I have a cart for a coffee roaster that I'm modifying to give the shopper a couple of different options. The options are:

Ground or Whole Bean
I created a table called Grind with ID 1 = Ground and ID 2 = Whole Bean

Size - Two sizes of bags -- 4oz and 12oz
I created a table called Size with ID 1= .75 (3/4 of a lb) and ID 2= .25 (1/4 of a lb)

So for each product the customer would choose:

a) ground or whole bean
b) 4oz or 12oz bag

Right now I have a separate record for each size so when the customer comes to the site they see the same product listed twice -- the only difference being the size and price. My customer wants there to be just one product listed and have the ability to select the size with a select list. If I create the record set for size, how would I handle the different price for the 4oz and 12oz bag?


I'm using the Recipe 6 "Database-driven Shopping Options" which uses the shoe store with Men's and Women's sizes and different colors. I think it's more complex than what I'm trying to do but I'm getting hung up when it says to copy and paste the snippet. It doesn't seem like I need to do that -- but I'm not sure and so I don't want to go further with that.

So I guess my fundamental questions are:

Don't I just need the two record sets and thus two select lists (one for "size" and one for "grind")?

And how do I get the correct price associated with the appropriate size?

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