close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Calculating Pricing with Option Add-Ons

Thread began 12/04/2009 4:09 am by mrobben375515 | Last modified 2/16/2010 3:01 pm by mrobben375515 | 3094 views | 13 replies

Eric Mittman

I will cover an overview of how you can add in the options and have them affect the price. Please respond with any questions that you have about any part of this and I will be glad to give you some specific detail for those parts.

First, you must have a column in your cart to record the size, and if you want to maintain the price of the size separately from the price of the item you will need another column for the sizePrice.

Once you have the columns in place you will need to ensure that you have a page with the add to cart on it to add an item to the cart. On this page you will need to add a recordset that selects all the sizes for that item. You will add a size select list to the form then bind the size for the label and the id for the value.

Next you will need to add another recordset on the page that will be just like your first size recordset but it will be filtered on the posted size id from the newly added size select list.

Once you have all of this in place you can then add values for the size and sizePrice to your add to cart server behavior. If you want to record the size and price for the size separately from the price of the item you will need to bind the sizePrice column with the price column from your newly filtered size recordset. If you want to just add the price to the items price you can just add in the size price from the recordset along with the already bound price for the item.

Please post back with any questions that you have about any part of this and I will be glad to help you with whatever I can.

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