close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding Minimum Quantity

Thread began 1/12/2010 3:45 pm by fdotmedia | Last modified 2/23/2010 8:54 pm by Eric Mittman | 861 views | 3 replies |

fdotmedia

Adding Minimum Quantity

Is there an easy way to add a variable that is a minimum quantity in an order? It doesn't look like that's an option on the "add to cart" server behavior...

An example would be we sell booklets but I want a minimum of 20 for booklet 1 and 1 for booklet 2...

Any suggestions?

Ted

Sign in to reply to this post

Office Guy-172461

The easiest non-coding solution would be to sell them in lots of 20.

So quantity of 1 would get them 20, quantity 2 would get them 40, etc.

Sign in to reply to this post

Badger

Would the coding option be an extra column in the database (eg minQuantity) and then when adding the "add to cart" button, in the bindings/default value, click on the lightning bolt and select the "minQuantity" column?

Sign in to reply to this post

Eric Mittman

If you try to limit the quantity with the add to cart like this you can have problems if the user updates their quantity to less than 20 in the cart. This is why it is best to use a unit type of quantity where 1 unit equals 20 items. You can just add some helper text to your page to inform the user that they are ordering this item in units of 20.

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