close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Maximum quantity of any item per transaction

Thread began 4/18/2011 1:01 pm by | Last modified 4/25/2011 10:26 am by | 1001 views | 5 replies

Maximum quantity of any item per transaction

Hi all, I have an unusual question.
I need to limit the quantity of any item being purchased to 40 per transaction.

A sample scenario would be like this: I'm a user and I purchase 12 items of one product, another 12 from another product and 16 from a third product. I end up with 40 items total. In this case I can continue to check out. But, if I try to purchase more than 40 items I should be stopped by the system. As a user I shouldn't be allowed to purchase more than 40 items (of any products, that doesn't matter) on the same order. If I need to purchase 45 items for example, then I should place an order for 40 items and then another order for 5 items.

Is this possible? I guess I would have to deal with the "Total of Quantity" session if it exists, am I right here? How can I achieve this?

Thanks much!.

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





Ease of use


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