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 a minimum quantity on a cart item

Thread began 10/09/2013 3:01 pm by elewis93815 | Last modified 10/14/2013 11:54 am by Jason Byrnes | 2721 views | 3 replies |

elewis93815

Adding a minimum quantity on a cart item

I would like a product page to have a minimum "add to cart" quantity. Right now I have a default quantity of 4 but when you add it to the cart you can update it and make it "1" if you choose. The quantity should be a minimum of 4 with the option to order more if they choose. How do I accomplish this? Thanks!

Attached Files
WA order minimum.zip
Sign in to reply to this post

Jason ByrnesWebAssist

will this minimum quantity apply to this one item or others?

you could set a minimum quantity on a product by product basis by adding a new column to the cart and naming it minimumQuantity

in the add to cart button behavior set this column to the minimum you would like customers to purchase for that item, themn create a new calculation as:

abs([Quantity] < [minimumQuantity])?[Quantity] = [minimumQuantity]:""

that will force the Quantity to be the minimum set for that product if they try to set it below the minimum allowed.

Sign in to reply to this post

elewis93815

Hi Jason, thank you for your reply. This will be added to all products on a page or in this case there are two repeat regions on this particular page, so the minimum would be in place on all items of each repeat region.

Sign in to reply to this post

Jason ByrnesWebAssist

The minimumQuantity cart rule suggestion from my previous reply will work for this.

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