close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Creating a dropdown for qty = certain pricing

Thread began 8/12/2014 8:44 pm by elewis93815 | Last modified 8/13/2014 6:46 pm by Jason Byrnes | 597 views | 5 replies |

elewis93815

Creating a dropdown for qty = certain pricing

I have created a store for a client and I am trying to remember how I would go about allowing shoppers to choose a certain item that is associated with a certain price. ie I wanted to buy 50 napkins at $20.00 or 100 of the same napkins for $35.00. I have attached the files for this clients store. Any direction would be greatly appreciated. This is not being created dynamically from a recordset rather just static items.

Thanks.

Attached Files
WA JUDITHINK.zip
Sign in to reply to this post

Jason ByrnesWebAssist

does this pricing apply to all products, or only certain products?

Sign in to reply to this post

elewis93815

the specific pricing is only on this product, however, each product has a quantity #, usually 50 and 100 pieces, and then a price associated with each quantity. I hope this makes sense, please let me know if I can clarify better.

Sign in to reply to this post

Jason ByrnesWebAssist

so each item will have a 2 available quantities?

and a separate price for each?

is that correct?

Sign in to reply to this post

elewis93815

Yes, that is correct

Sign in to reply to this post

Jason ByrnesWebAssist

ok, so you need a column for
qtyBreak1
Break1Price
qtyBreak2
Break2Price

in the add to cart button, set Quantity to be updaable from a drop down, set the qtyBreak1 column to be the first quantity selection and Break1Price to be the price for that selection.
set qtyBreak2 to the second selection and Break2Price the price for that selection.

after the form is created, populate the list with the 2 qty selections that should be available, and create a new calculation in the cart object as:

abs([Quantity] == [qtyBreak1])?[Price] = [Break1Price]:0

and another calcualtion as:
abs([Quantity] == [qtyBreak2])?[Price] = [Break2Price]:0

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